Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2695352
D25158.1734836624.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
545 B
Referenced Files
None
Subscribers
None
D25158.1734836624.diff
View Options
diff --git a/src/applications/config/controller/module/PhabricatorConfigModuleController.php b/src/applications/config/controller/module/PhabricatorConfigModuleController.php
--- a/src/applications/config/controller/module/PhabricatorConfigModuleController.php
+++ b/src/applications/config/controller/module/PhabricatorConfigModuleController.php
@@ -9,7 +9,7 @@
$all_modules = PhabricatorConfigModule::getAllModules();
- if (!strlen($key)) {
+ if (!phutil_nonempty_string($key)) {
$key = head_key($all_modules);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 03:03 (20 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016721
Default Alt Text
D25158.1734836624.diff (545 B)
Attached To
Mode
D25158: Fix PHP 8.1 "strlen(null)" exception which blocks rendering Config's Module page
Attached
Detach File
Event Timeline
Log In to Comment