From 937c6e33940ce616ac8f9592f49d85ffe259f756 Mon Sep 17 00:00:00 2001 From: Boris Date: Fri, 28 Oct 2022 14:01:45 +0200 Subject: [PATCH] =?UTF-8?q?r=C3=A9parageation=20construction=20objet=20Gch?= =?UTF-8?q?angeUser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/GchangeUser.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/GchangeUser.class.php b/lib/GchangeUser.class.php index 2b5b244..7f30d0a 100644 --- a/lib/GchangeUser.class.php +++ b/lib/GchangeUser.class.php @@ -17,7 +17,7 @@ class GchangeUser { $this->userGchangeId = $gchangeObject->_id; - if (!$gchangeObject->found) { + if (isset($gchangeObject->found) and $gchangeObject->found == false) { $this->userName = substr($gchangeObject->_id, 0, 8);