diff --git a/src/applications/phame/controller/blog/PhameBlogEditController.php b/src/applications/phame/controller/blog/PhameBlogEditController.php index 0f0d333ebb..06afae410c 100644 --- a/src/applications/phame/controller/blog/PhameBlogEditController.php +++ b/src/applications/phame/controller/blog/PhameBlogEditController.php @@ -74,7 +74,7 @@ final class PhameBlogEditController $errors[] = $error_text; $e_custom_domain = $error_label; } - if ($blog->getJoinPolicy() != PhabricatorPolicies::POLICY_PUBLIC) { + if ($blog->getViewPolicy() != PhabricatorPolicies::POLICY_PUBLIC) { $errors[] = pht( 'For custom domains to work, the blog must have a view policy of '. 'public.');