From e6ee9346062226324a58bd9ba4a2cb7ffc1a4a7f Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 31 Aug 2019 18:00:13 +0200 Subject: [PATCH] DT --- nconnector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nconnector.php b/nconnector.php index c49bc51..4f2258f 100755 --- a/nconnector.php +++ b/nconnector.php @@ -20,7 +20,7 @@ $ncdb = new db("nextcloud"); $doldb->query("SELECT login, firstname, lastname, pass_crypted, fk_adherent_type FROM llx_adherent"); while ($user = $doldb->result->fetch_assoc()) { - $ncdb->query("SELECT uid FROM oc_accounts WHERE uid=('" . $user["login"] . "'"); + $ncdb->query("SELECT uid FROM oc_accounts WHERE uid='" . $user["login"] . "'"); echo "login:" . ($user["login"]); if ( $ncdb->result->num_rows != 0 ) {