Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2908779
D25177.1737382042.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
580 B
Referenced Files
None
Subscribers
None
D25177.1737382042.diff
View Options
diff --git a/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldRemarkup.php b/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldRemarkup.php
--- a/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldRemarkup.php
+++ b/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldRemarkup.php
@@ -30,7 +30,7 @@
public function renderPropertyViewValue(array $handles) {
$value = $this->getFieldValue();
- if (!strlen($value)) {
+ if (!phutil_nonempty_string($value)) {
return null;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 20, 14:07 (2 d, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1130941
Default Alt Text
D25177.1737382042.diff (580 B)
Attached To
Mode
D25177: Fix PHP 8.1 "strlen(null)" exception which blocks creating a project with an empty Description field
Attached
Detach File
Event Timeline
Log In to Comment