diff --git a/manager/ModuleRequest.php b/manager/ModuleRequest.php index 5e96e64..8ade7c7 100755 --- a/manager/ModuleRequest.php +++ b/manager/ModuleRequest.php @@ -242,7 +242,7 @@ * */ private function getFunctionCaller(){ - return '\\manager\\module\\'.$this->path['module'].'::'.$this->path['method']; + return array( '\\manager\\module\\'.$this->path['module'], $this->path['method'] ); } diff --git a/view/users.php b/view/users.php index 383a787..065dd5e 100755 --- a/view/users.php +++ b/view/users.php @@ -61,7 +61,10 @@ echo '
'; echo 'Liste des utilisateurs:
'; - var_dump( $users ); + if( $request->error != \manager\ManagerError::Success ) + var_dump( \manager\ManagerError::explicit($request->error) ); + else + var_dump( $users ); echo '
'; }