Project

General

Profile

Bug #19785 ยป 00010090.patch

Administrator Admin, 2009-01-10 13:45

View differences:

t3lib/class.t3lib_tcemain.php (Arbeitskopie)
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($mres)) {
$this->copyRecord($table,$row['uid'], $theNewRootID); // Copying each of the underlying records...
}
$GLOBALS['TYPO3_DB']->sql_free_result($mres);
}
}
return $theNewRootID;
......
$this->deleteVersionsForRecord($table,$row['uid'],$forceHardDelete);
$this->deleteRecord($table,$row['uid'], TRUE, $forceHardDelete);
}
$GLOBALS['TYPO3_DB']->sql_free_result($mres);
}
}
$this->deleteVersionsForRecord('pages',$uid,$forceHardDelete);
......
return -1; // No permissions
}
}
$GLOBALS['TYPO3_DB']->sql_free_result($mres);
}
return $inList;
}
......
} else {die ('Fatal ERROR!! No Uid at resorting.');}
$i = $i+$intervals;
}
$GLOBALS['TYPO3_DB']->sql_free_result($res);
return $returnVal;
}
}
......
}
}
}
$GLOBALS['TYPO3_DB']->sql_free_result($mres);
}
return $CPtable;
}
......
while ($row_tmp2 = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res_tmp2)) {
$list_cache[] = $row_tmp2['uid'];
}
$GLOBALS['TYPO3_DB']->sql_free_result($res_tmp2);
}
}
$GLOBALS['TYPO3_DB']->sql_free_result($res_tmp);
// Finally, add the parent page as well:
$list_cache[] = $pid_tmp;
......
$log_data = unserialize($row['log_data']);
$errorJS[] = $row['error'].': '.sprintf($row['details'], $log_data[0],$log_data[1],$log_data[2],$log_data[3],$log_data[4]);
}
$GLOBALS['TYPO3_DB']->sql_free_result($res_log);
if (count($errorJS)) {
$error_doc = t3lib_div::makeInstance('template');
    (1-1/1)