Page MenuHomePhorge

D25235.1737659231.diff
No OneTemporary

D25235.1737659231.diff

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

Mime Type
text/plain
Expires
Thu, Jan 23, 19:07 (1 w, 26 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1146162
Default Alt Text
D25235.1737659231.diff (566 B)

Event Timeline