Page MenuHomePhorge

D25488.1732051717.diff
No OneTemporary

D25488.1732051717.diff

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

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 21:28 (21 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
979159
Default Alt Text
D25488.1732051717.diff (826 B)

Event Timeline