diff --git a/code/CMSMain.php b/code/CMSMain.php index 523c55d1..1fb7e28d 100644 --- a/code/CMSMain.php +++ b/code/CMSMain.php @@ -848,7 +848,7 @@ HTML; $form->loadDataFrom($record); $form->loadDataFrom(array( "ID" => $id, - "Version" => $version, + "Version" => $fromVersion, )); $form->makeReadonly(); foreach($form->Fields()->dataFields() as $field) {