Use unique values for combined AND group membership filters

This commit is contained in:
Eric Lippmann 2019-07-16 14:25:03 +02:00 committed by Johannes Meyer
parent 0de923fc5f
commit e61cb71c17
1 changed files with 1 additions and 1 deletions

View File

@ -560,7 +560,7 @@ abstract class IdoQuery extends DbQuery
if (count($expr) === 1 && strpos($expr[0], '&') !== false) {
// Our current filter implementation does not specify & as a control character so the count of the
// expression array is always one in this case
$expr = explode('&', $expr[0]);
$expr = array_unique(explode('&', $expr[0]));
$subQueryFilter->setExpression($expr);
$and = true;
} else {