From 08978f19766b87981b842e9144392781791bcd31 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 1 Sep 2019 00:39:15 +0200 Subject: [PATCH] DT --- nconnector.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nconnector.php b/nconnector.php index 5299681..1d9daea 100755 --- a/nconnector.php +++ b/nconnector.php @@ -52,15 +52,15 @@ while ($user = $doldb->result->fetch_assoc()) echo $account_data . EOL . $oc_account_query . EOL . $oc_users_query .EOL . $oc_group_user_query . EOL; if (!$ncdb->query($oc_account_query)) { - echo "Echec lors de la requete : (" . $mysqli->errno . ") " . $mysqli->error; + echo "Echec lors de la requete : (" . $ncdb->errno . ") " . $ncdb->error; } if (!$ncdb->query($oc_users_query)) { - echo "Echec lors de la requete : (" . $mysqli->errno . ") " . $mysqli->error; + echo "Echec lors de la requete : (" . $ncdb->errno . ") " . $ncdb->error; } if (!$ncdb->query($oc_group_user_query)) { - echo "Echec lors de la requete : (" . $mysqli->errno . ") " . $mysqli->error; + echo "Echec lors de la requete : (" . $ncdb->errno . ") " . $ncdb->error; } } $ncdb->result->close();