Page MenuHomePhabricator

D14169.id34235.diff
No OneTemporary

D14169.id34235.diff

diff --git a/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldPHIDs.php b/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldPHIDs.php
--- a/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldPHIDs.php
+++ b/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldPHIDs.php
@@ -166,4 +166,14 @@
);
}
+ public function getHeraldFieldValue() {
+ // If the field has a `null` value, make sure we hand an `array()` to
+ // Herald.
+ $value = parent::getHeraldFieldValue();
+ if ($value) {
+ return $value;
+ }
+ return array();
+ }
+
}

File Metadata

Mime Type
text/plain
Expires
Sat, May 11, 10:06 PM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6273048
Default Alt Text
D14169.id34235.diff (642 B)

Event Timeline