Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2694277
D25199.1734776578.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
569 B
Referenced Files
None
Subscribers
None
D25199.1734776578.diff
View Options
diff --git a/src/applications/project/menuitem/PhabricatorProjectReportsProfileMenuItem.php b/src/applications/project/menuitem/PhabricatorProjectReportsProfileMenuItem.php
--- a/src/applications/project/menuitem/PhabricatorProjectReportsProfileMenuItem.php
+++ b/src/applications/project/menuitem/PhabricatorProjectReportsProfileMenuItem.php
@@ -46,7 +46,7 @@
PhabricatorProfileMenuItemConfiguration $config) {
$name = $config->getMenuItemProperty('name');
- if (strlen($name)) {
+ if (phutil_nonempty_string($name)) {
return $name;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 10:22 (17 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1023002
Default Alt Text
D25199.1734776578.diff (569 B)
Attached To
Mode
D25199: Fix PHP 8.1 "strlen(null)" exception which blocks rendering a project's page when Reports prototype enabled
Attached
Detach File
Event Timeline
Log In to Comment