Project

General

Profile

Bug #14945 » 2005-10-20_bugfix_1407.patch

Administrator Admin, 2005-10-20 15:04

View differences:

class.t3lib_tcemain.php 20 Oct 2005 13:03:33 -0000
if ($TCA[$table] && $uid) {
$deleteRow = $TCA[$table]['ctrl']['delete'];
if ($noRecordCheck || $this->doesRecordExist($table,$uid,'delete')) {
$this->clear_cache($table,$uid); // clear cache
if ($deleteRow) {
$updateFields = array(
$deleteRow => 1
......
$this->log($table,$uid,3,0,100,$GLOBALS['TYPO3_DB']->sql_error());
}
$this->clear_cache($table,$uid); // clear cache
} else {
$this->log($table,$uid,3,0,1,'Attempt to delete record without delete-permissions');
}
(2-2/2)