Page MenuHomePhabricator

D14169.diff
No OneTemporary

D14169.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
Wed, May 8, 9:28 PM (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6273048
Default Alt Text
D14169.diff (642 B)

Event Timeline