From 3196bc492a5e33de26ed9830ed3442aa38afef87 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 30 Nov 2019 00:30:43 +0100 Subject: [PATCH] debuggage --- nconnector.php | 1 + 1 file changed, 1 insertion(+) diff --git a/nconnector.php b/nconnector.php index bb101fe..50386d9 100755 --- a/nconnector.php +++ b/nconnector.php @@ -36,6 +36,7 @@ $doldb->query("SELECT login, firstname, lastname, pass_crypted, fk_adherent_type while ($user = $doldb->result->fetch_assoc()) { //$flag+=1; + if ($user["fk_user_valid"] == null) $user["fk_user_valid"] = 0; $ncdb->query("SELECT uid FROM oc_accounts WHERE uid='" . $user["login"] . "'"); echo "login:" . ($user["login"]) . EOL; if ( $ncdb->result->num_rows != 0 )