#78353PageLayoutView::makeQueryArray (inherited from AbstractDatabaseRecordList) creates invalid SQL
Description
Steps to reproduce:
- Register a content preview hook
- From within that hook, call `$parentObject->makeQueryArray(‘tt_content’, $ignoredUid, ‘AND uid > 0’);`
- Resulting query contains `1=1 AND uid > 0 1=1`
Behavior is different compared to LTS at least and comparing the commit that changed the returned query it also seems clear that the condition would be malformed if returned this way.
Returning an empty string solves the problem and does not break the search feature.