Page MenuHomePhorge

D25492.1737138806.diff
No OneTemporary

D25492.1737138806.diff

diff --git a/src/infrastructure/customfield/standard/PhabricatorStandardCustomField.php b/src/infrastructure/customfield/standard/PhabricatorStandardCustomField.php
--- a/src/infrastructure/customfield/standard/PhabricatorStandardCustomField.php
+++ b/src/infrastructure/customfield/standard/PhabricatorStandardCustomField.php
@@ -481,7 +481,7 @@
}
$field_value = $this->getFieldValue();
- if (strlen($field_value)) {
+ if (phutil_nonempty_string($field_value)) {
$document->addField($field_key, $field_value);
}
}

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 17, 18:33 (1 d, 6 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1120458
Default Alt Text
D25492.1737138806.diff (549 B)

Event Timeline