1
0
This commit is contained in:
Daniel Tartavel 2019-08-31 17:50:09 +02:00
parent f54c1a0b9c
commit f6532467dd

View File

@ -22,7 +22,7 @@ while ($user = $doldb->result->fetch_assoc())
{
$ncdb->query("SELECT uid FROM oc_accounts WHERE uid='$user->login'");
echo "login:" . ($login["login"]);
if ( $nc->result->num_rows == 0 )
if ( $nc->result->num_rows != 0 )
{
$ncuser = $ncdb->result->fetch_assoc();
echo "uid:" . $ncuser["uid"];