mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-23 22:09:29 +00:00
Fix error in getUserInfos method
This commit is contained in:
parent
4c9fd50e5e
commit
e000e59374
@ -164,8 +164,8 @@ class User{
|
|||||||
//Prepare return
|
//Prepare return
|
||||||
$return = array();
|
$return = array();
|
||||||
$return['userID'] = $userInfos[0]['ID'];
|
$return['userID'] = $userInfos[0]['ID'];
|
||||||
$return['firstName'] = $userInfos[0]['nom'];
|
$return['firstName'] = $userInfos[0]['prenom'];
|
||||||
$return['lastName'] = $userInfos[0]['prenom'];
|
$return['lastName'] = $userInfos[0]['nom'];
|
||||||
$return['accountCreationDate'] = $userInfos[0]['date_creation'];
|
$return['accountCreationDate'] = $userInfos[0]['date_creation'];
|
||||||
$return['publicPage'] = $userInfos[0]['public'];
|
$return['publicPage'] = $userInfos[0]['public'];
|
||||||
$return['openPage'] = $userInfos[0]['pageouverte'];
|
$return['openPage'] = $userInfos[0]['pageouverte'];
|
||||||
|
Loading…
Reference in New Issue
Block a user