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