Fixed error provoked by previous commit

This commit is contained in:
Pierre
2017-12-23 18:21:48 +01:00
parent a2b92b4e6c
commit 7e0807780a
2 changed files with 3 additions and 2 deletions

View File

@ -138,8 +138,6 @@ class userController
if(count($userInfos) == 0)
Rest_fatal_error(500, "Couldn't get informations about the user !");
//Add account image url
$userInfos['accountImage'] = CS::get()->components->accountImage->getPath($userID);
//Get the number of friends (if allowed)
if($userInfos['friend_list_public'] === true){