Page MenuHomePhorge

D25230.1734734695.diff
No OneTemporary

D25230.1734734695.diff

diff --git a/src/applications/search/menuitem/PhabricatorProfileMenuItem.php b/src/applications/search/menuitem/PhabricatorProfileMenuItem.php
--- a/src/applications/search/menuitem/PhabricatorProfileMenuItem.php
+++ b/src/applications/search/menuitem/PhabricatorProfileMenuItem.php
@@ -126,7 +126,7 @@
$result = $xaction['new'];
}
- return !strlen($result);
+ return !phutil_nonempty_string($result);
}
final protected function newError($title, $message, $xaction = null) {

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 22:44 (8 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1021244
Default Alt Text
D25230.1734734695.diff (504 B)

Event Timeline