Skip to content

Commit f9fb71b

Browse files
georgringerbmack
authored andcommitted
[BUGFIX] Allow quoting in TypoScript's select for leftjoin & rightjoin
By fixing a typo, the field quoting also works for `leftjoin` and `rightjoin`. Resolves: #93449 Releases: master, 10.4, 9.5 Change-Id: I65c08d17f7f41a505fc4e23fbafd775469e9a13a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67695 Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Benni Mack <benni@typo3.org> Reviewed-by: Benni Mack <benni@typo3.org>
1 parent d5f7b38 commit f9fb71b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/ContentObject/ContentObjectRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6604,7 +6604,7 @@ public function getQuery($table, $conf, $returnQueryArray = false)
66046604
);
66056605
if ($conf[$property] === '') {
66066606
unset($conf[$property]);
6607-
} elseif (in_array($property, ['languageField', 'selectFields', 'join', 'leftJoin', 'rightJoin', 'where'], true)) {
6607+
} elseif (in_array($property, ['languageField', 'selectFields', 'join', 'leftjoin', 'rightjoin', 'where'], true)) {
66086608
$conf[$property] = QueryHelper::quoteDatabaseIdentifiers($connection, $conf[$property]);
66096609
}
66106610
if (isset($conf[$property . '.'])) {

0 commit comments

Comments
 (0)