[BUGFIX] PHP Warning when moving a record
authorXavier Perseguers <xavier@typo3.org>
Mon, 27 Feb 2012 16:45:07 +0000 (17:45 +0100)
committerXavier Perseguers <xavier@typo3.org>
Mon, 27 Feb 2012 16:53:03 +0000 (17:53 +0100)
Call to t3lib_TCEmain::moveL10nOverlayRecords() misses 4th parameter.

Change-Id: I5e0814497791fd904df809b5c19171f3e5d2936a
Fixes: #34135
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/9258
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
t3lib/class.t3lib_tcemain.php

index 4106c08..c63fa12 100644 (file)
@@ -3454,7 +3454,7 @@ class t3lib_TCEmain {
                                        // Create query for update:
                                $GLOBALS['TYPO3_DB']->exec_UPDATEquery($table, 'uid=' . intval($uid), $updateFields);
                                        // check for the localizations of that element
-                               $this->moveL10nOverlayRecords($table, $uid, $destPid);
+                               $this->moveL10nOverlayRecords($table, $uid, $destPid, 0);
 
                                        // Call post processing hooks:
                                foreach ($hookObjectsArr as $hookObj) {