mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
#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
This commit is contained in:
parent
8baa74ebdb
commit
121e8314e0
@ -848,7 +848,7 @@ HTML;
|
|||||||
$form->loadDataFrom($record);
|
$form->loadDataFrom($record);
|
||||||
$form->loadDataFrom(array(
|
$form->loadDataFrom(array(
|
||||||
"ID" => $id,
|
"ID" => $id,
|
||||||
"Version" => $version,
|
"Version" => $fromVersion,
|
||||||
));
|
));
|
||||||
$form->makeReadonly();
|
$form->makeReadonly();
|
||||||
foreach($form->Fields()->dataFields() as $field) {
|
foreach($form->Fields()->dataFields() as $field) {
|
||||||
|
Loading…
Reference in New Issue
Block a user