From f8a5fa512d75d41b99054841f81e4c9114772853 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 31 Aug 2019 16:19:01 +0200 Subject: [PATCH] DT --- nconnector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nconnector.php b/nconnector.php index 3dbc28d..112310e 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 = $result->fetch_object()) +while ($login = $doldb->result->fetch_object()) { echo $login; }