Skip to content
Snippets Groups Projects
Commit 3ebee675 authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Pass sanitized additional where as string in DatabaseRecordList

The RecordListGetTable hook allows to add an additional
where clause to the recordlist query. Since the sanitized
result was wrapped in an array before being passed to
$queryBuilder->andWhere(), this led to an exception.

This is now fixed by passing the sanitized clause as
string to `addWhere()`.

Resolves: #96378
Related: #92065
Releases: main, 11.5
Change-Id: I99fa184f49f9db9f7edf061d4137e1e6c275446e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72699


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent 24f25996
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment