Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2697911
D25240.1734973976.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
548 B
Referenced Files
None
Subscribers
None
D25240.1734973976.diff
View Options
diff --git a/src/infrastructure/customfield/standard/PhabricatorStandardCustomField.php b/src/infrastructure/customfield/standard/PhabricatorStandardCustomField.php
--- a/src/infrastructure/customfield/standard/PhabricatorStandardCustomField.php
+++ b/src/infrastructure/customfield/standard/PhabricatorStandardCustomField.php
@@ -389,7 +389,7 @@
if (is_array($value)) {
return empty($value);
}
- return !strlen($value);
+ return $value === null || !strlen($value);
}
public function getApplicationTransactionTitle(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 17:12 (18 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1027120
Default Alt Text
D25240.1734973976.diff (548 B)
Attached To
Mode
D25240: Fix PHP 8.1 "strlen(null)" exception which blocks rendering errors on Create Blueprint page
Attached
Detach File
Event Timeline
Log In to Comment