Project

General

Profile

Bug #34156 » 0001-test.patch

Mario Näther, 2012-02-21 18:18

View differences:

t3lib/class.t3lib_tcemain.php
function deleteRecord($table, $uid, $noRecordCheck = FALSE, $forceHardDelete = FALSE, $undeleteRecord = FALSE) {
// Checking if there is anything else disallowing deleting the record by checking if editing is allowed
$mayEditAccess = $this->BE_USER->recordEditAccessInternals($table, $uid, FALSE, $undeleteRecord, TRUE);
$mayEditAccess = $this->BE_USER->recordEditAccessInternals($table, $uid, FALSE, $forceHardDelete, TRUE);
$uid = intval($uid);
if ($GLOBALS['TCA'][$table] && $uid) {
-
(1-1/2)