Commit fedfd85f authored by Georg Ringer's avatar Georg Ringer Committed by Benni Mack
Browse files

[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

Tested-by: default avatarTYPO3com <>
Tested-by: Benni Mack's avatarBenni Mack <>
Reviewed-by: Benni Mack's avatarBenni Mack <>
parent 1963ee59
......@@ -6604,7 +6604,7 @@ class ContentObjectRenderer implements LoggerAwareInterface
if ($conf[$property] === '') {
} elseif (in_array($property, ['languageField', 'selectFields', 'join', 'leftJoin', 'rightJoin', 'where'], true)) {
} elseif (in_array($property, ['languageField', 'selectFields', 'join', 'leftjoin', 'rightjoin', 'where'], true)) {
$conf[$property] = QueryHelper::quoteDatabaseIdentifiers($connection, $conf[$property]);
if (isset($conf[$property . '.'])) {
Supports Markdown
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