mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #1640 from dhensby/pulls/3.4/fix-history-versions
FIX History controller now shows right comparison versions
This commit is contained in:
commit
17a471a47a
@ -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');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user