1
0
This commit is contained in:
Daniel Tartavel 2019-08-31 18:03:21 +02:00
parent c2d5c75c6f
commit 9e9eb25c5c

View File

@ -21,7 +21,7 @@ $doldb->query("SELECT login, firstname, lastname, pass_crypted, fk_adherent_type
while ($user = $doldb->result->fetch_assoc()) 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"]); echo "login:" . ($user["login"]) . EOL;
if ( $ncdb->result->num_rows != 0 ) if ( $ncdb->result->num_rows != 0 )
{ {
$ncuser = $ncdb->result->fetch_assoc(); $ncuser = $ncdb->result->fetch_assoc();