Project

General

Profile

Bug #17876 » 6875_v2.diff

Administrator Admin, 2009-06-01 12:48

View differences:

t3lib/class.t3lib_tcemain.php (working copy)
// move the records
if (isset($dbAnalysis)) {
$firstRecord = TRUE;
foreach ($dbAnalysis->itemArray as $v) {
$this->moveRecord($v['table'],$v['id'],$destPid);
if ($firstRecord) {
$firstRecord = FALSE;
// Move record to new page
$dest = $destPid;
} else {
// Move record after previous record on new page
$dest = '-' . $previousId;
}
$previousId = $v['id'];
$this->moveRecord($v['table'], $v['id'], $dest);
}
}
}
(3-3/5)