Project

General

Profile

Bug #20049 ยป 9705_follow_up.diff

Administrator Admin, 2009-02-21 22:51

View differences:

t3lib/class.t3lib_tcemain.php (working copy)
$newVersion_placeholderFieldArray[$TCA[$table]['ctrl']['tstamp']] = time();
}
// Copy page access settings from original page to placeholder
$perms_clause = $this->BE_USER->getPagePermsClause(1);
$access = t3lib_BEfunc::readPageAccess($uid, $perms_clause);
if ($table == 'pages') {
// Copy page access settings from original page to placeholder
$perms_clause = $this->BE_USER->getPagePermsClause(1);
$access = t3lib_BEfunc::readPageAccess($uid, $perms_clause);
$newVersion_placeholderFieldArray['perms_userid'] = $access['perms_userid'];
$newVersion_placeholderFieldArray['perms_groupid'] = $access['perms_groupid'];
$newVersion_placeholderFieldArray['perms_user'] = $access['perms_user'];
$newVersion_placeholderFieldArray['perms_group'] = $access['perms_group'];
$newVersion_placeholderFieldArray['perms_everybody'] = $access['perms_everybody'];
$newVersion_placeholderFieldArray['perms_userid'] = $access['perms_userid'];
$newVersion_placeholderFieldArray['perms_groupid'] = $access['perms_groupid'];
$newVersion_placeholderFieldArray['perms_user'] = $access['perms_user'];
$newVersion_placeholderFieldArray['perms_group'] = $access['perms_group'];
$newVersion_placeholderFieldArray['perms_everybody'] = $access['perms_everybody'];
}
$newVersion_placeholderFieldArray['t3ver_label'] = 'MOVE-TO PLACEHOLDER for #'.$uid;
$newVersion_placeholderFieldArray['t3ver_move_id'] = $uid;
    (1-1/1)