Page MenuHomePhorge

D25235.1734635604.diff
No OneTemporary

D25235.1734635604.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, 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)

Event Timeline