Commit ba708244a3b32102f364695ca2ea34e0831da48a

Authored by Etienne Pallier
1 parent d8e48373

traque bug

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/Controller/MaterielsController.php
@@ -65,7 +65,7 @@ class MaterielsController extends AppController { @@ -65,7 +65,7 @@ class MaterielsController extends AppController {
65 */ 65 */
66 $role = $this->getUserRole($user); 66 $role = $this->getUserRole($user);
67 $this->myDebug("role is ".$role); 67 $this->myDebug("role is ".$role);
68 - $this->debug("role is ".$role); 68 + debug("role is ".$role);
69 //BETTER: 69 //BETTER:
70 //$action = $this->request->getAttribute('params')['action']; 70 //$action = $this->request->getAttribute('params')['action'];
71 $action = $this->request->getParam('action'); 71 $action = $this->request->getParam('action');