Skip to content

Commit

Permalink
FIX clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis authored and eldy committed Jul 27, 2018
1 parent 8ab03c4 commit e187762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/user/class/api_users.class.php
Expand Up @@ -67,7 +67,7 @@ function index($sortfield = "t.rowid", $sortorder = 'ASC', $limit = 100, $page =
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");
}
Expand Down

0 comments on commit e187762

Please sign in to comment.