From a778182f1981d2a1ee49363ba369f5a6a34a22e8 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 31 Aug 2019 17:57:22 +0200 Subject: [PATCH] DT --- nconnector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nconnector.php b/nconnector.php index 02d4981..d7906d1 100755 --- a/nconnector.php +++ b/nconnector.php @@ -21,7 +21,7 @@ $doldb->query("SELECT login, firstname, lastname, pass_crypted, fk_adherent_type while ($user = $doldb->result->fetch_assoc()) { $ncdb->query("SELECT uid FROM oc_accounts WHERE uid=('" . $user->login . "'"); - echo "login:" . ($user->"login"]); + echo "login:" . ($user["login"]); if ( $ncdb->result->num_rows != 0 ) { $ncuser = $ncdb->result->fetch_assoc();