From 0db4dc0311d40e18e7691ac205634fac41e3fbed Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 6 Jul 2020 08:34:40 +0200 Subject: [PATCH] IdoQuery: Force array cast when lowering subquery filter expressions fixes #4196 --- .../library/Monitoring/Backend/Ido/Query/IdoQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php index 3dd34dd70..0d80bf5ee 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php @@ -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;