@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Check view policy, not join policy, when raising an error for Phame custom domains

Summary: A user in IRC hit this; this looks like a typo.

Test Plan: Created a new blog with a public view policy, a non-public join policy, and a custom domain.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: legien, epriestley

Differential Revision: https://secure.phabricator.com/D8980

+1 -1
+1 -1
src/applications/phame/controller/blog/PhameBlogEditController.php
··· 74 74 $errors[] = $error_text; 75 75 $e_custom_domain = $error_label; 76 76 } 77 - if ($blog->getJoinPolicy() != PhabricatorPolicies::POLICY_PUBLIC) { 77 + if ($blog->getViewPolicy() != PhabricatorPolicies::POLICY_PUBLIC) { 78 78 $errors[] = pht( 79 79 'For custom domains to work, the blog must have a view policy of '. 80 80 'public.');