From f6532467dd452fea934b72cfbf880b83ca582494 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 31 Aug 2019 17:50:09 +0200 Subject: [PATCH] DT --- nconnector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nconnector.php b/nconnector.php index 3eb7253..9c4f79f 100755 --- a/nconnector.php +++ b/nconnector.php @@ -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"];