Skip to content

Commit

Permalink
Fix scrutinizer error
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 16, 2019
1 parent 2689f75 commit e7276f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions htdocs/user/class/api_users.class.php
Expand Up @@ -190,10 +190,9 @@ public function getInfo()
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);
}

/**
Expand Down

0 comments on commit e7276f9

Please sign in to comment.