Page MenuHomePhorge

D25240.1737423568.diff
No OneTemporary

D25240.1737423568.diff

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,8 @@
if (is_array($value)) {
return empty($value);
}
- return !strlen($value);
+ $is_empty = phutil_string_cast($value) === '';
+ return $is_empty;
}
public function getApplicationTransactionTitle(

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 21, 01:39 (1 d, 2 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1114453
Default Alt Text
D25240.1737423568.diff (575 B)

Event Timeline