Page MenuHomePhorge

D25431.1740252089.diff
No OneTemporary

D25431.1740252089.diff

diff --git a/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldDate.php b/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldDate.php
--- a/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldDate.php
+++ b/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldDate.php
@@ -11,7 +11,7 @@
$indexes = array();
$value = $this->getFieldValue();
- if (strlen($value)) {
+ if (phutil_nonempty_scalar($value)) {
$indexes[] = $this->newNumericIndex((int)$value);
}

File Metadata

Mime Type
text/plain
Expires
Sat, Feb 22, 19:21 (9 h, 33 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1147709
Default Alt Text
D25431.1740252089.diff (563 B)

Event Timeline