Skip to content
Commit b5c54bcc authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Prevent TypeError in FileSearchDemand

Since `QueryHelper::parseOrderBy()` might return
NULL as value for fieldname and direction, we
now check those values properly to prevent any
TypeErrors using the type-hinted `addOrdering()`
method.

Resolves: #102649
Releases: main, 12.4
Change-Id: Ie117e7fd0593392e843aaca5c1e9c254c4de42d1
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82129


Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent d54560ba
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