Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2681123
D25235.1734635604.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
566 B
Referenced Files
None
Subscribers
None
D25235.1734635604.diff
View Options
diff --git a/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldInt.php b/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldInt.php
--- a/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldInt.php
+++ b/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldInt.php
@@ -24,7 +24,7 @@
public function getValueForStorage() {
$value = $this->getFieldValue();
- if (strlen($value)) {
+ if (phutil_nonempty_string($value)) {
return $value;
} else {
return null;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 19:13 (20 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1015421
Default Alt Text
D25235.1734635604.diff (566 B)
Attached To
Mode
D25235: Fix PHP 8.1 "strlen(null)" exception which blocks Working Copy blueprint creation in Drydock
Attached
Detach File
Event Timeline
Log In to Comment