Index: t3lib/class.t3lib_tcemain.php =================================================================== --- t3lib/class.t3lib_tcemain.php (revision 5716) +++ t3lib/class.t3lib_tcemain.php (working copy) @@ -651,7 +651,6 @@ $createNewVersion = FALSE; $recordAccess = FALSE; $old_pid_value = ''; - $resetRejected = FALSE; $this->autoVersioningUpdate = FALSE; if (!t3lib_div::testInt($id)) { // Is it a new record? (Then Id is a string) @@ -743,11 +742,6 @@ $tempdata = $this->recordInfo($table,$id,'pid'.($TCA[$table]['ctrl']['versioningWS']?',t3ver_wsid,t3ver_stage':'')); $theRealPid = $tempdata['pid']; - // Prepare the reset of the rejected flag if set: - if ($TCA[$table]['ctrl']['versioningWS'] && $tempdata['t3ver_stage']<0) { - $resetRejected = TRUE; - } - // Use the new id of the versionized record we're trying to write to: // (This record is a child record of a parent and has already been versionized.) if ($this->autoVersionIdMap[$table][$id]) { @@ -849,7 +843,7 @@ $fieldArray[$TCA[$table]['ctrl']['tstamp']]=time(); if ($createNewVersion) $newVersion_placeholderFieldArray[$TCA[$table]['ctrl']['tstamp']]=time(); } - if ($resetRejected) { + if ($TCA[$table]['ctrl']['versioningWS']) { $fieldArray['t3ver_stage'] = 0; }