Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13982158
D8980.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
693 B
Referenced Files
None
Subscribers
None
D8980.id.diff
View Options
diff --git a/src/applications/phame/controller/blog/PhameBlogEditController.php b/src/applications/phame/controller/blog/PhameBlogEditController.php
--- a/src/applications/phame/controller/blog/PhameBlogEditController.php
+++ b/src/applications/phame/controller/blog/PhameBlogEditController.php
@@ -74,7 +74,7 @@
$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.');
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 20, 9:34 PM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6705560
Default Alt Text
D8980.id.diff (693 B)
Attached To
Mode
D8980: Check view policy, not join policy, when raising an error for Phame custom domains
Attached
Detach File
Event Timeline
Log In to Comment