From 4896004b504e1ac2b0a32c0b94f96a9cd0019dc9 Mon Sep 17 00:00:00 2001 From: micmania1 Date: Fri, 16 Nov 2018 14:12:01 +1300 Subject: [PATCH] BUGFIX reverting to publish still shows draft changees --- code/Controllers/CMSMain.php | 1 + 1 file changed, 1 insertion(+) diff --git a/code/Controllers/CMSMain.php b/code/Controllers/CMSMain.php index 8e8e37ce..a52558c4 100644 --- a/code/Controllers/CMSMain.php +++ b/code/Controllers/CMSMain.php @@ -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."