Page MenuHomePhabricator

D18132.id43628.diff
No OneTemporary

D18132.id43628.diff

diff --git a/src/applications/search/field/PhabricatorSearchCheckboxesField.php b/src/applications/search/field/PhabricatorSearchCheckboxesField.php
--- a/src/applications/search/field/PhabricatorSearchCheckboxesField.php
+++ b/src/applications/search/field/PhabricatorSearchCheckboxesField.php
@@ -14,6 +14,14 @@
return $this->options;
}
+ public function getValue() {
+ $value = parent::getValue();
+ if (!$value) {
+ return array();
+ }
+ return $value;
+ }
+
protected function getDefaultValue() {
return array();
}

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 3, 1:34 PM (2 d, 6 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7730717
Default Alt Text
D18132.id43628.diff (561 B)

Event Timeline