Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2880696
D25230.1737081992.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.1737081992.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, Jan 17, 02:46 (1 d, 10 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1119418
Default Alt Text
D25230.1737081992.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