minmod
This commit is contained in:
parent
ac7a330d55
commit
65f3aa6994
|
@ -379,10 +379,8 @@
|
||||||
$granted = Authentification::permission($this->path['module'], $method['permissions']);
|
$granted = Authentification::permission($this->path['module'], $method['permissions']);
|
||||||
|
|
||||||
/* (1) On retourne FAUX si aucun droit n'a ete trouve */
|
/* (1) On retourne FAUX si aucun droit n'a ete trouve */
|
||||||
if( $granted !== Error::Success ){
|
if( $granted !== Error::Success )
|
||||||
$this->error = Error::PermissionError;
|
$this->error = Error::PermissionError;
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue