Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2690011
D25230.1734743383.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.1734743383.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
Sat, Dec 21, 01:09 (11 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1021244
Default Alt Text
D25230.1734743383.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