Index: C:/Programme/eclipse3.1/workspace/gsc/t3lib/class.t3lib_tcemain.php =================================================================== --- C:/Programme/eclipse3.1/workspace/gsc/t3lib/class.t3lib_tcemain.php (revision 1773) +++ C:/Programme/eclipse3.1/workspace/gsc/t3lib/class.t3lib_tcemain.php (working copy) @@ -784,7 +784,7 @@ } } else $this->newlog('Versioning type "'.$versioningType.'" was not allowed, so could not create new record.',1); } else { - $this->insertDB($table,$id,$fieldArray,FALSE,$incomingFieldArray['uid']); + $id = $this->insertDB($table,$id,$fieldArray,FALSE,$incomingFieldArray['uid']); } } else { $this->updateDB($table,$id,$fieldArray);