Page MenuHomePhorge

D25494.1743001031.diff
No OneTemporary

D25494.1743001031.diff

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

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 26, 14:57 (4 d, 11 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1125320
Default Alt Text
D25494.1743001031.diff (565 B)

Event Timeline