Page MenuHomePhorge

D25519.1736868576.diff
No OneTemporary

D25519.1736868576.diff

diff --git a/src/applications/search/field/PhabricatorSearchTextField.php b/src/applications/search/field/PhabricatorSearchTextField.php
--- a/src/applications/search/field/PhabricatorSearchTextField.php
+++ b/src/applications/search/field/PhabricatorSearchTextField.php
@@ -11,6 +11,15 @@
return $request->getStr($key);
}
+ protected function validateControlValue($value) {
+ if (!is_array($value)) {
+ return;
+ }
+ $this->addError(
+ pht('Invalid'),
+ pht('Text value for "%s" can not be parsed.', $this->getLabel()));
+ }
+
protected function newControl() {
return new AphrontFormTextControl();
}

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 14, 15:29 (3 d, 12 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1114253
Default Alt Text
D25519.1736868576.diff (649 B)

Event Timeline