forked from La_Bureautique/zeg1jeux
réparageation construction objet GchangeUser
This commit is contained in:
parent
942b41fd24
commit
937c6e3394
|
@ -17,7 +17,7 @@ class GchangeUser {
|
||||||
|
|
||||||
$this->userGchangeId = $gchangeObject->_id;
|
$this->userGchangeId = $gchangeObject->_id;
|
||||||
|
|
||||||
if (!$gchangeObject->found) {
|
if (isset($gchangeObject->found) and $gchangeObject->found == false) {
|
||||||
|
|
||||||
$this->userName = substr($gchangeObject->_id, 0, 8);
|
$this->userName = substr($gchangeObject->_id, 0, 8);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue