From 1cd8adf2471dd1893b449f821d0d4cf5184bcf18 Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 16 Dec 2017 17:55:42 +0100 Subject: [PATCH] Fixed issue --- classes/components/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/components/user.php b/classes/components/user.php index b720abb..414d1c9 100644 --- a/classes/components/user.php +++ b/classes/components/user.php @@ -226,7 +226,7 @@ class User{ * @param $advanced Get advanced informations about user or not (to display its profile for example) * @return Array The informations ready to be returned */ - private function generateUserInfosArray(array $userInfos, bool $advanced) : array{ + private function generateUserInfosArray(array $userInfos, bool $advanced = false) : array{ //Prepare return $return = array(); $return['userID'] = $userInfos['ID'];