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
Sun, Nov 17, 2:11 PM (1 d, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6716048
Default Alt Text
D16508.id39727.diff (692 B)

Event Timeline