IdoQuery: Force array cast when lowering subquery filter expressions

fixes #4196
This commit is contained in:
Johannes Meyer 2020-07-06 08:34:40 +02:00
parent 6de3297e31
commit 0db4dc0311
1 changed files with 1 additions and 1 deletions

View File

@ -572,7 +572,7 @@ abstract class IdoQuery extends DbQuery
$column = $subQuery->aliasToColumnName($alias);
if (isset($this->caseInsensitiveColumns[$subQuery->aliasToTableName($alias)][$alias])) {
$column = 'LOWER( ' . $column . ' )';
$subQueryFilter->setExpression(array_map('strtolower', $subQueryFilter->getExpression()));
$subQueryFilter->setExpression(array_map('strtolower', (array) $subQueryFilter->getExpression()));
}
$additional = null;