Skip to content
Snippets Groups Projects
Commit b66fc965 authored by Marvin Dettinger's avatar Marvin Dettinger Committed by Nicole Cordes
Browse files

[BUGFIX] Adds missing tablename sys_language in fetchOriginLanguage function

Resolves: #76098
Releases: master, 7.6
Change-Id: I4ceb644328671cd3355340d6b6991d60e88b265a
Reviewed-on: https://review.typo3.org/48046


Reviewed-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: default avatarChristoph Kratz <ckr@rtp.ch>
Tested-by: default avatarChristoph Kratz <ckr@rtp.ch>
Reviewed-by: default avatarMarvin Dettinger <mde@rtp.ch>
Tested-by: default avatarMarvin Dettinger <mde@rtp.ch>
Reviewed-by: default avatarNicole Cordes <typo3@cordes.co>
Tested-by: default avatarNicole Cordes <typo3@cordes.co>
parent 58f51c50
Branches
Tags
No related merge requests found
......@@ -33,11 +33,12 @@ class LocalizationRepository
{
$record = $this->getDatabaseConnection()->exec_SELECTgetSingleRow(
'tt_content_orig.sys_language_uid',
'tt_content,tt_content AS tt_content_orig',
'tt_content,tt_content AS tt_content_orig,sys_language',
'tt_content.colPos = ' . (int)$colPos
. ' AND tt_content.pid = ' . (int)$pageId
. ' AND tt_content.sys_language_uid = ' . (int)$localizedLanguage
. ' AND tt_content.t3_origuid = tt_content_orig.uid'
. ' AND tt_content_orig.sys_language_uid=sys_language.uid'
. $this->getExcludeQueryPart()
. $this->getAllowedLanguagesForBackendUser(),
'tt_content_orig.sys_language_uid'
......
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