Page MenuHomePhabricator

D16508.id39727.diff
No OneTemporary

D16508.id39727.diff

diff --git a/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldLink.php b/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldLink.php
--- a/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldLink.php
+++ b/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldLink.php
@@ -47,7 +47,12 @@
PhabricatorCursorPagedPolicyAwareQuery $query,
$value) {
- if (strlen($value)) {
+ if (is_string($value) && !strlen($value)) {
+ return;
+ }
+
+ $value = (array)$value;
+ if ($value) {
$query->withApplicationSearchContainsConstraint(
$this->newStringIndex(null),
$value);

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 22, 7:30 AM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6716048
Default Alt Text
D16508.id39727.diff (692 B)

Event Timeline