Project

General

Profile

Bug #12307 » 12307_version_v2.patch

Sonja Schubert, 2011-01-18 22:30

View differences:

class.tx_version_tcemain.php (revision )
} elseif ($tcemainObj->checkRecordUpdateAccess($table, $id)) {
$record = t3lib_BEfunc::getRecord($table, $id);
$stat = $tcemainObj->BE_USER->checkWorkspace($record['t3ver_wsid']);
// check if the usere is allowed to the current stage, so it's also allowed to send to next stage
if ($GLOBALS['BE_USER']->workspaceCheckStageForCurrent($record['t3ver_stage'])) {
if (t3lib_div::inList('admin,online,offline,reviewer,owner', $stat['_ACCESS']) || ($stageId <= 1 && $stat['_ACCESS'] === 'member')) {
// Set stage of record:
$updateData = array(
't3ver_stage' => $stageId
(4-4/8)