Page MenuHomePhorge

D25371.1730353041.diff
No OneTemporary

D25371.1730353041.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
@@ -33,7 +33,7 @@
}
public function setValueFromStorage($value) {
- if (strlen($value)) {
+ if (phutil_nonempty_scalar($value)) {
$value = (int)$value;
} else {
$value = null;

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 31, 05:37 (16 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
953659
Default Alt Text
D25371.1730353041.diff (549 B)

Event Timeline