Fixed bug #13380: Recursive deletion of alternative page languages
authorAndreas Otto <andreas.otto@dkd.de>
Sun, 14 Feb 2010 17:23:08 +0000 (17:23 +0000)
committerAndreas Otto <andreas.otto@dkd.de>
Sun, 14 Feb 2010 17:23:08 +0000 (17:23 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6900 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tcemain.php

index d07d27b..99a8722 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-14 Andreas Otto <andreas@otto-hanika.de>
+
+       * Fixed bug #13380: Recursive deletion of alternative page languages
+
 2010-02-13  Xavier Perseguers  <typo3@perseguers.ch>
 
        * Fixed bug #6196: IFNULL operator cannot be parsed
index 72fb6e4..faeb7a8 100644 (file)
@@ -4529,7 +4529,7 @@ class t3lib_TCEmain       {
         */
        function deleteL10nOverlayRecords($table, $uid) {
                        // Check whether table can be localized or has a different table defined to store localizations:
-               if (!t3lib_BEfunc::isTableLocalizable($table) || !empty($GLOBALS['TCA'][$table]['ctrl']['transForeignTable'])) {
+               if (!t3lib_BEfunc::isTableLocalizable($table) || !empty($GLOBALS['TCA'][$table]['ctrl']['transForeignTable']) || !empty($GLOBALS['TCA'][$table]['ctrl']['transOrigPointerTable'])) {
                        return;
                }