Fixing style errors.
This commit is contained in:
parent
34894c15e0
commit
0b408b8012
1 changed files with 1 additions and 1 deletions
|
|
@ -264,7 +264,7 @@ class Users extends DolibarrApi
|
|||
if (!DolibarrApi::_checkAccessToResource('user', $this->useraccount->id, 'user')) {
|
||||
throw new RestException(401, 'Access not allowed for login '.DolibarrApiAccess::$user->login);
|
||||
}
|
||||
|
||||
|
||||
if ($includepermissions) {
|
||||
$this->useraccount->getRights();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue