diff --git a/build/api/core/ModuleRequest.php b/build/api/core/ModuleRequest.php index 10517e0..d8418e7 100755 --- a/build/api/core/ModuleRequest.php +++ b/build/api/core/ModuleRequest.php @@ -379,10 +379,8 @@ $granted = Authentification::permission($this->path['module'], $method['permissions']); /* (1) On retourne FAUX si aucun droit n'a ete trouve */ - if( $granted !== Error::Success ){ + if( $granted !== Error::Success ) $this->error = Error::PermissionError; - return false; - }