Merge pull request #2333 from micmania1/bugfix/revert-to-publish-shows-draft

BUGFIX reverting to publish still shows draft changes
This commit is contained in:
Guy Marriott 2018-11-20 09:22:48 +13:00 committed by GitHub
commit 203ecdb210
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -2081,6 +2081,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
);
} else {
$record->doRevertToLive();
$record->publishRecursive();
$message = _t(
__CLASS__ . '.ROLLEDBACKPUBv2',
"Rolled back to published version."