Index: public/typo3/sysext/core/Classes/Database/Query/QueryHelper.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== diff --git a/public/typo3/sysext/core/Classes/Database/Query/QueryHelper.php b/public/typo3/sysext/core/Classes/Database/Query/QueryHelper.php --- a/public/typo3/sysext/core/Classes/Database/Query/QueryHelper.php +++ b/public/typo3/sysext/core/Classes/Database/Query/QueryHelper.php (date 1702283033915) @@ -50,7 +50,7 @@ static function ($expression) { $fieldNameOrderArray = GeneralUtility::trimExplode(' ', $expression, true); $fieldName = $fieldNameOrderArray[0] ?? null; - $order = $fieldNameOrderArray[1] ?? null; + $order = $fieldNameOrderArray[1] ?? ''; return [$fieldName, $order]; },