diff --git a/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php b/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php index db0d41da3299f45810b7f4e91264650c9610a794..d48ad9a25fb47d4b3a36b3e2ca5179fc8fc7880b 100644 --- a/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php +++ b/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php @@ -2408,7 +2408,7 @@ class DatabaseRecordList $hookObject->getDBlistQuery($table, $pageId, $addWhere, $selFieldList, $this); } if (!empty($addWhere)) { - $queryBuilder->andWhere([QueryHelper::stripLogicalOperatorPrefix($addWhere)]); + $queryBuilder->andWhere(QueryHelper::stripLogicalOperatorPrefix($addWhere)); } $fields = GeneralUtility::trimExplode(',', $selFieldList, true); if ($fields === []) {