From 537b0c61171a294c3330628f6a766719bbb47a64 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 7 Feb 2013 21:44:07 +0100 Subject: [PATCH] Define $allowed_actions consistently Required due to stricter $allowed_actions checks in 3.1 --- code/controllers/CMSPageHistoryController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/controllers/CMSPageHistoryController.php b/code/controllers/CMSPageHistoryController.php index 4b5f9aed..3b05e1db 100644 --- a/code/controllers/CMSPageHistoryController.php +++ b/code/controllers/CMSPageHistoryController.php @@ -15,6 +15,8 @@ class CMSPageHistoryController extends CMSMain { static $allowed_actions = array( 'VersionsForm', + 'CompareVersionsForm', + 'show', 'compare' );