Page MenuHomePhorge

D25371.1730318527.diff
No OneTemporary

D25371.1730318527.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
Wed, Oct 30, 20:02 (6 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
953659
Default Alt Text
D25371.1730318527.diff (549 B)

Event Timeline