From 13813b21ec4543ef0ba3d4eff49543ef07067e8a Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 31 Aug 2019 16:40:23 +0200 Subject: [PATCH] DT --- nconnector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nconnector.php b/nconnector.php index 7d0a2bc..e8e9f80 100755 --- a/nconnector.php +++ b/nconnector.php @@ -18,7 +18,7 @@ $doldb = new db("dolibarr"); $ncdb = new db("nextcloud"); //$ncdb->database = "nextcloud"; $doldb->query("SELECT login FROM llx_adherent"); -while ($login = $doldb->result->fetch_object()) +while ($login = $doldb->result->fetch_assoc()) { echo ($login["login"]); }