From 38e75cf422963ecef92c39e6e0bc58b648af58a1 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 16 Aug 2016 07:08:31 +0200 Subject: [PATCH] don't need accessop in show_form() --- views/bootstrap/class.RoleMgr.php | 1 - 1 file changed, 1 deletion(-) diff --git a/views/bootstrap/class.RoleMgr.php b/views/bootstrap/class.RoleMgr.php index 126106d23..891a42e49 100644 --- a/views/bootstrap/class.RoleMgr.php +++ b/views/bootstrap/class.RoleMgr.php @@ -112,7 +112,6 @@ $(document).ready( function() { $dms = $this->params['dms']; $user = $this->params['user']; $accessop = $this->params['accessobject']; - $roles = $this->params['allroles']; if($currRole && !$currRole->isUsed() && $accessop->check_controller_access('RoleMgr', array('action'=>'removerole'))) { ?>