Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2698221
D25181.1734993157.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
517 B
Referenced Files
None
Subscribers
None
D25181.1734993157.diff
View Options
diff --git a/src/applications/config/option/PhabricatorConfigOption.php b/src/applications/config/option/PhabricatorConfigOption.php
--- a/src/applications/config/option/PhabricatorConfigOption.php
+++ b/src/applications/config/option/PhabricatorConfigOption.php
@@ -205,7 +205,7 @@
public function newDescriptionRemarkupView(PhabricatorUser $viewer) {
$description = $this->getDescription();
- if (!strlen($description)) {
+ if (!phutil_nonempty_string($description)) {
return null;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 22:32 (18 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1027382
Default Alt Text
D25181.1734993157.diff (517 B)
Attached To
Mode
D25181: Fix PHP 8.1 "strlen(null)" exception which blocks rendering a config page
Attached
Detach File
Event Timeline
Log In to Comment