From 65f3aa6994d4c75225fe89090f40ea0ca82500cb Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 8 Nov 2016 09:54:11 +0100 Subject: [PATCH] minmod --- build/api/core/ModuleRequest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; - }