mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
Fix typo
This commit is contained in:
parent
d8bf0ab327
commit
8e40b41460
@ -369,7 +369,7 @@ class CMSPageHistoryController extends CMSMain {
|
||||
$fromVersion = $versionID;
|
||||
}
|
||||
|
||||
if(!$toVersion || !$toVersion) return false;
|
||||
if(!$toVersion || !$fromVersion) return false;
|
||||
|
||||
$id = $this->currentPageID();
|
||||
$page = DataObject::get_by_id("SiteTree", $id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user