Skip to content

Commit

Permalink
Merge pull request #10489 from frederic34/patch-18
Browse files Browse the repository at this point in the history
$this->get($id) return array not int
  • Loading branch information
eldy committed Feb 3, 2019
2 parents afd53a9 + e3a5d2b commit aa82163
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion htdocs/user/class/api_users.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ function post($request_data = null)
*
* @param int $id Id of account to update
* @param array $request_data Datas
* @return int
* @return array
*
* @throws RestException
*/
function put($id, $request_data = null)
{
Expand Down

0 comments on commit aa82163

Please sign in to comment.