Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2933584
D25681.1737776445.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
553 B
Referenced Files
None
Subscribers
None
D25681.1737776445.diff
View Options
diff --git a/src/applications/dashboard/menuitem/PhabricatorDashboardPortalMenuItem.php b/src/applications/dashboard/menuitem/PhabricatorDashboardPortalMenuItem.php
--- a/src/applications/dashboard/menuitem/PhabricatorDashboardPortalMenuItem.php
+++ b/src/applications/dashboard/menuitem/PhabricatorDashboardPortalMenuItem.php
@@ -31,7 +31,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, Jan 25, 03:40 (5 d, 23 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1116115
Default Alt Text
D25681.1737776445.diff (553 B)
Attached To
Mode
D25681: Fix PHP 8.1 "strlen(null)" exception creating a Portal
Attached
Detach File
Event Timeline
Log In to Comment