--- typo3_src-4.5.10/typo3/sysext/version/class.tx_version_tcemain.php 2012-01-04 17:47:53.000000000 +0100 +++ /Users/jakobberlin/Downloads/typo3_src-4.5.10/typo3/sysext/version/class.tx_version_tcemain.php 2011-12-20 11:29:43.000000000 +0100 @@ -749,7 +749,6 @@ // Select the two versions: $curVersion = t3lib_BEfunc::getRecord($table, $id, '*'); $swapVersion = t3lib_BEfunc::getRecord($table, $swapWith, '*'); - $movePlh = array(); $movePlhID = 0; @@ -827,7 +826,7 @@ // Moving element. if ((int)$TCA[$table]['ctrl']['versioningWS']>=2) { // && $t3ver_state['swapVersion']==4 // Maybe we don't need this? - if ($plhRec = t3lib_BEfunc::getMovePlaceholder($table, $id, 't3ver_state,pid,uid,colpos' . ($TCA[$table]['ctrl']['sortby'] ? ',' . $TCA[$table]['ctrl']['sortby'] : ''))) { + if ($plhRec = t3lib_BEfunc::getMovePlaceholder($table, $id, 't3ver_state,pid,uid' . ($TCA[$table]['ctrl']['sortby'] ? ',' . $TCA[$table]['ctrl']['sortby'] : ''))) { $movePlhID = $plhRec['uid']; $movePlh['pid'] = $swapVersion['pid']; $swapVersion['pid'] = intval($plhRec['pid']); @@ -835,8 +834,6 @@ $curVersion['t3ver_state'] = intval($swapVersion['t3ver_state']); $swapVersion['t3ver_state'] = 0; - $swapVersion['colpos'] = $plhRec['colpos']; - if ($TCA[$table]['ctrl']['sortby']) { // sortby is a "keepFields" which is why this will work... $movePlh[$TCA[$table]['ctrl']['sortby']] = $swapVersion[$TCA[$table]['ctrl']['sortby']];