diff --git a/includes/basetype.class.php b/includes/basetype.class.php index 1b1f2994..cff32184 100644 --- a/includes/basetype.class.php +++ b/includes/basetype.class.php @@ -1359,7 +1359,7 @@ abstract class Filter foreach ($fields as $n => $f) { $sub = []; - $parts = array_filter(explode(' ', $string)); + $parts = $exact ? [$string] : array_filter(explode(' ', $string)); foreach ($parts as $p) { if ($p[0] == '-' && (mb_strlen($p) > 3 || $shortStr))