2
0
forked from Wavyzz/dolibarr

FIX clean code

This commit is contained in:
Regis Houssin
2018-07-24 20:10:27 +02:00
parent dc2fec8f57
commit ff733c5ad7

View File

@@ -67,7 +67,7 @@ class Users extends DolibarrApi
global $db, $conf;
$obj_ret = array();
se
if(! DolibarrApiAccess::$user->rights->user->user->lire) {
throw new RestException(401, "You are not allowed to read list of users");
}