Page MenuHomePhorge

D25166.1737292603.diff
No OneTemporary

D25166.1737292603.diff

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
@@ -135,7 +135,7 @@
if ($is_view) {
$selected_item = $this->selectViewItem($view_list, $item_id);
} else {
- if (!strlen($item_id)) {
+ if (!phutil_nonempty_scalar($item_id)) {
$item_id = self::ITEM_MANAGE;
}
$selected_item = $this->selectEditItem($view_list, $item_id);

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 19, 13:16 (17 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1126876
Default Alt Text
D25166.1737292603.diff (605 B)

Event Timeline