Fix scrutinizer error
This commit is contained in:
parent
2689f7515c
commit
e7276f9044
@ -190,10 +190,9 @@ class Users extends DolibarrApi
|
||||
throw new RestException(404, 'User group not found');
|
||||
}
|
||||
|
||||
$this->useraccount = $this->_cleanObjectDatas($this->useraccount);
|
||||
$this->useraccount->user_group_list = $this->_cleanUserGroupListDatas($userGroupList);
|
||||
|
||||
return $this->useraccount;
|
||||
return $this->_cleanObjectDatas($this->useraccount);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user