From 1fd1df22f57389ba8e1f8889387da019e57ac898 Mon Sep 17 00:00:00 2001 From: Ciprian Vate Date: Thu, 13 Oct 2016 17:02:41 +0200 Subject: [PATCH] Bugfix - initialize array --- src/Lock.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Lock.php b/src/Lock.php index b12cd75..0d70dbe 100644 --- a/src/Lock.php +++ b/src/Lock.php @@ -306,6 +306,7 @@ public function denied($actions, $resourceType) $denied[$action] = []; $allowedOnCallerLevel[$action] = []; $deniedOnCallerLevel[$action] = []; + $allowedOnRoleLevel[$action] = []; $deniedOnRoleLevel[$action] = []; // browse permission of a role / caller