Page MenuHomePhorge

D25492.1734743471.diff
No OneTemporary

D25492.1734743471.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 (($field_value !== null) && (strlen($field_value))) {
$document->addField($field_key, $field_value);
}
}

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 01:11 (16 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1020144
Default Alt Text
D25492.1734743471.diff (562 B)

Event Timeline