Commit f2e730c414c1b85090bbe472f1cfd83093746f74

Authored by Etienne Pallier
1 parent ae6d179e
Exists in master and in 1 other branch dev

bugfixing...

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/Controller/UsersController.php
@@ -358,7 +358,7 @@ class UsersController extends AppController { @@ -358,7 +358,7 @@ class UsersController extends AppController {
358 //$all_users = $this->Users->find()->toList(); 358 //$all_users = $this->Users->find()->toList();
359 //debug($all_users); 359 //debug($all_users);
360 for ($i = 0; $i < 2; $i++) debug($all_users[$i]); 360 for ($i = 0; $i < 2; $i++) debug($all_users[$i]);
361 - //throw new \ErrorException("Pas de user trouvé dans la table users pour 'username'=$user_login"); 361 + throw new \ErrorException("Pas de user trouvé dans la table users pour 'username'=$user_login");
362 } 362 }
363 return $user; 363 return $user;
364 } 364 }