From 896f344cea38ca6a53ff843b77a77219f490c0ac Mon Sep 17 00:00:00 2001 From: Simon DELAGE Date: Sun, 11 Jan 2015 13:26:26 +0100 Subject: [PATCH] Added a test on useacl option before any ACL action --- action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.php b/action.php index a42bd03..c538239 100644 --- a/action.php +++ b/action.php @@ -116,7 +116,7 @@ class action_plugin_userhomepage extends DokuWiki_Action_Plugin{ function acl(&$event, $param) { global $conf; - if (!$this->getConf('no_acl')) { + if ((!$this->getConf('no_acl')) && ($conf['useacl'])) { // ACL $acl = new admin_plugin_acl(); // On private namespace