From be56d0167509e755dbc992b2c6ad4c539b125de7 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 31 Aug 2019 17:44:17 +0200 Subject: [PATCH] DT --- nconnector.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nconnector.php b/nconnector.php index e653e6d..3381de4 100755 --- a/nconnector.php +++ b/nconnector.php @@ -24,7 +24,8 @@ while ($user = $doldb->result->fetch_assoc()) echo "login:" . ($login["login"]); if ( $nc->result->num_rows == 0 ) { - echo "uid:" . $ncdb->result["uid"]; + $ncuser = $ncdb->result->fetch_assoc() + echo "uid:" . $ncuser["uid"]; } $ncdb->result->close(); }