Differential D14169 Diff 34235 src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldPHIDs.php
Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldPHIDs.php
Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Lines | return array( | ||||
HeraldAdapter::CONDITION_INCLUDE_ALL, | HeraldAdapter::CONDITION_INCLUDE_ALL, | ||||
HeraldAdapter::CONDITION_INCLUDE_ANY, | HeraldAdapter::CONDITION_INCLUDE_ANY, | ||||
HeraldAdapter::CONDITION_INCLUDE_NONE, | HeraldAdapter::CONDITION_INCLUDE_NONE, | ||||
HeraldAdapter::CONDITION_EXISTS, | HeraldAdapter::CONDITION_EXISTS, | ||||
HeraldAdapter::CONDITION_NOT_EXISTS, | HeraldAdapter::CONDITION_NOT_EXISTS, | ||||
); | ); | ||||
} | } | ||||
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(); | |||||
} | |||||
} | } |