Page MenuHomePhorge

D25230.1739170833.diff
No OneTemporary

D25230.1739170833.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
Mon, Feb 10, 07:00 (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1119418
Default Alt Text
D25230.1739170833.diff (504 B)

Event Timeline