FIX History controller now shows right comparison versions

This commit is contained in:
Daniel Hensby 2016-10-07 16:33:03 +01:00
parent f9697f75cd
commit ae83b7b5ef
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E

View File

@ -394,7 +394,7 @@ class CMSPageHistoryController extends CMSMain {
}
if(isset($record)) {
$form = $this->getEditForm($id, null, null, true);
$form = $this->getEditForm($id, null, $fromVersion, $toVersion);
$form->setActions(new FieldList());
$form->addExtraClass('compare');