Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15197325
D18455.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
510 B
Referenced Files
None
Subscribers
None
D18455.diff
View Options
diff --git a/src/applications/search/engine/PhabricatorProfileMenuEngine.php b/src/applications/search/engine/PhabricatorProfileMenuEngine.php
--- a/src/applications/search/engine/PhabricatorProfileMenuEngine.php
+++ b/src/applications/search/engine/PhabricatorProfileMenuEngine.php
@@ -465,7 +465,7 @@
$default = null;
$first = null;
foreach ($items as $item) {
- if (!$item->canMakeDefault()) {
+ if (!$item->canMakeDefault() || $item->isDisabled()) {
continue;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 23, 10:49 PM (4 h, 17 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7187935
Default Alt Text
D18455.diff (510 B)
Attached To
Mode
D18455: Don't select disabled menu items as default
Attached
Detach File
Event Timeline
Log In to Comment