Page MenuHomePhorge

D25371.1734930597.diff
No OneTemporary

D25371.1734930597.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
Mon, Dec 23, 05:09 (12 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1026733
Default Alt Text
D25371.1734930597.diff (549 B)

Event Timeline