IdoQuery: Force array cast when lowering subquery filter expressions
fixes #4196
This commit is contained in:
parent
6de3297e31
commit
0db4dc0311
|
@ -572,7 +572,7 @@ abstract class IdoQuery extends DbQuery
|
||||||
$column = $subQuery->aliasToColumnName($alias);
|
$column = $subQuery->aliasToColumnName($alias);
|
||||||
if (isset($this->caseInsensitiveColumns[$subQuery->aliasToTableName($alias)][$alias])) {
|
if (isset($this->caseInsensitiveColumns[$subQuery->aliasToTableName($alias)][$alias])) {
|
||||||
$column = 'LOWER( ' . $column . ' )';
|
$column = 'LOWER( ' . $column . ' )';
|
||||||
$subQueryFilter->setExpression(array_map('strtolower', $subQueryFilter->getExpression()));
|
$subQueryFilter->setExpression(array_map('strtolower', (array) $subQueryFilter->getExpression()));
|
||||||
}
|
}
|
||||||
|
|
||||||
$additional = null;
|
$additional = null;
|
||||||
|
|
Loading…
Reference in New Issue