@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.

Fix a policy error for restricted applications in a profile menu

Ref T12174. This could improperly raise a policy error. Instead, hide the menu item.

Auditors: chad

+3 -3
+3 -3
src/applications/search/menuitem/PhabricatorApplicationProfileMenuItem.php
··· 60 60 $viewer = $this->getViewer(); 61 61 $phid = $config->getMenuItemProperty('application'); 62 62 63 - $app = id(new PhabricatorApplicationQuery()) 63 + $apps = id(new PhabricatorApplicationQuery()) 64 64 ->setViewer($viewer) 65 65 ->withPHIDs(array($phid)) 66 - ->executeOne(); 66 + ->execute(); 67 67 68 - return $app; 68 + return head($apps); 69 69 } 70 70 71 71 protected function newNavigationMenuItems(