From 121e8314e0c264a085667e893f9b2b5212c7fe74 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Fri, 1 Feb 2008 02:26:01 +0000 Subject: [PATCH] #2088 - Notice level error on compare versions git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48962 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/CMSMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {