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();