diff --git a/src/Controller/MaterielsController.php b/src/Controller/MaterielsController.php index 9ff3f14..25e606a 100755 --- a/src/Controller/MaterielsController.php +++ b/src/Controller/MaterielsController.php @@ -65,6 +65,7 @@ class MaterielsController extends AppController { */ $role = $this->getUserRole($user); $this->myDebug("role is ".$role); + $this->debug("role is ".$role); //BETTER: //$action = $this->request->getAttribute('params')['action']; $action = $this->request->getParam('action'); -- libgit2 0.21.2