From d838a144d558fbdc097034060571f1ed8b5b81af Mon Sep 17 00:00:00 2001 From: Mathias Brodala <mbrodala@pagemachine.de> Date: Thu, 16 Feb 2017 16:42:39 +0100 Subject: [PATCH] [BUGFIX] Fix localization guard for "pages_language_overlay" Resolves: #79859 Related: #78191 Releases: master, 7.6 Change-Id: Ia2a3ed9b1a793c1be554f73fa99362e3015313df Reviewed-on: https://review.typo3.org/51720 Reviewed-by: Susanne Moog <susanne.moog@typo3.org> Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Frans Saris <franssaris@gmail.com> Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by: Thomas Hohn <thomas@hohn.dk> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> --- typo3/sysext/core/Classes/DataHandling/DataHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/core/Classes/DataHandling/DataHandler.php b/typo3/sysext/core/Classes/DataHandling/DataHandler.php index 7d91933c717c..2c7549a758ce 100644 --- a/typo3/sysext/core/Classes/DataHandling/DataHandler.php +++ b/typo3/sysext/core/Classes/DataHandling/DataHandler.php @@ -4561,7 +4561,7 @@ class DataHandler $this->registerNestedElementCall($table, $uid, 'localize'); if ((!$GLOBALS['TCA'][$table]['ctrl']['languageField'] || !$GLOBALS['TCA'][$table]['ctrl']['transOrigPointerField'] - || $table === 'pages_language_overay') + || $table === 'pages_language_overlay') && $table !== 'pages') { if ($this->enableLogging) { $this->newlog('Localization failed; "languageField" and "transOrigPointerField" must be defined for the table!', 1); -- GitLab