Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15377491
D20799.id49594.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
801 B
Referenced Files
None
Subscribers
None
D20799.id49594.diff
View Options
diff --git a/src/applications/policy/storage/PhabricatorPolicy.php b/src/applications/policy/storage/PhabricatorPolicy.php
--- a/src/applications/policy/storage/PhabricatorPolicy.php
+++ b/src/applications/policy/storage/PhabricatorPolicy.php
@@ -85,8 +85,10 @@
$phid_type = phid_get_type($policy_identifier);
switch ($phid_type) {
case PhabricatorProjectProjectPHIDType::TYPECONST:
- $policy->setType(PhabricatorPolicyType::TYPE_PROJECT);
- $policy->setName($handle->getName());
+ $policy
+ ->setType(PhabricatorPolicyType::TYPE_PROJECT)
+ ->setName($handle->getName())
+ ->setIcon($handle->getIcon());
break;
case PhabricatorPeopleUserPHIDType::TYPECONST:
$policy->setType(PhabricatorPolicyType::TYPE_USER);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 14, 9:11 AM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7428038
Default Alt Text
D20799.id49594.diff (801 B)
Attached To
Mode
D20799: When a project has a custom icon, use that icon to label the project policy in the policy dropown
Attached
Detach File
Event Timeline
Log In to Comment