Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2689455
D25230.1734734695.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
504 B
Referenced Files
None
Subscribers
None
D25230.1734734695.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25230: Fix PHP 8.1 "strlen(null)" exception trying to create an empty Menu Item
Attached
Detach File
Event Timeline
Log In to Comment