Bug #23284 ยป 15258.diff
t3lib/class.t3lib_tcemain.php (working copy) | ||
---|---|---|
// If access was granted above, proceed to create or update record:
|
||
if ($recordAccess) {
|
||
list($tscPID) = t3lib_BEfunc::getTSCpid($table,$id,$old_pid_value ? $old_pid_value : $fieldArray['pid']); // Here the "pid" is set IF NOT the old pid was a string pointing to a place in the subst-id array.
|
||
list($tscPID) = t3lib_BEfunc::getTSCpid($table,$id,$fieldArray['pid']);
|
||
$TSConfig = $this->getTCEMAIN_TSconfig($tscPID);
|
||
if ($status=='new' && $table=='pages' && is_array($TSConfig['permissions.'])) {
|
||
$fieldArray = $this->setTSconfigPermissions($fieldArray,$TSConfig['permissions.']);
|