mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX reverting to publish still shows draft changees
This commit is contained in:
parent
32c0b57de0
commit
4896004b50
@ -2081,6 +2081,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$record->doRevertToLive();
|
$record->doRevertToLive();
|
||||||
|
$record->publishRecursive();
|
||||||
$message = _t(
|
$message = _t(
|
||||||
__CLASS__ . '.ROLLEDBACKPUBv2',
|
__CLASS__ . '.ROLLEDBACKPUBv2',
|
||||||
"Rolled back to published version."
|
"Rolled back to published version."
|
||||||
|
Loading…
Reference in New Issue
Block a user