Project

General

Profile

Bug #25722 » f25722.diff

Steffen Gebert, 2011-04-02 20:53

View differences:

t3lib/class.t3lib_tcemain.php
if (!$modifyAccessList) {
$id = 0;
$this->log($table, $id, 2, 0, 1, "Attempt to modify table '%s' without permission", 1, array($table));
throw new RuntimeException('No access to modify table "' . $table . '".', 1301769338);
}
if (isset($TCA[$table]) && !$this->tableReadOnly($table) && is_array($this->datamap[$table]) && $modifyAccessList) {
if ($this->reverseOrder) {
......
if (!$modifyAccessList) {
$id = 0;
$this->log($table, $id, 2, 0, 1, "Attempt to modify table '%s' without permission", 1, array($table));
throw new RuntimeException('No access to modify table "' . $table . '".', 1301769341);
} // FIXME: $id not set here (Comment added by Sebastian Kurfürst)
// Check basic permissions and circumstances:
(2-2/2)