From a9f150126c73cf9eefbe119e140692e3ea6ff1e7 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 28 Jun 2013 10:07:57 +0200 Subject: [PATCH] Fix CMSBatchActionHandler::$allowed_actions Regression from earlier API change to deny actions unless specified --- admin/code/CMSBatchActionHandler.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/admin/code/CMSBatchActionHandler.php b/admin/code/CMSBatchActionHandler.php index 0d61fb8d7..d3229e694 100644 --- a/admin/code/CMSBatchActionHandler.php +++ b/admin/code/CMSBatchActionHandler.php @@ -16,6 +16,12 @@ class CMSBatchActionHandler extends RequestHandler { '$BatchAction/confirmation' => 'handleConfirmation', '$BatchAction' => 'handleBatchAction', ); + + private static $allowed_actions = array( + 'handleBatchAction', + 'handleApplicablePages', + 'handleConfirmation', + ); protected $parentController;