diff --git a/nconnector.php b/nconnector.php index 9a09ffc..2d83e68 100755 --- a/nconnector.php +++ b/nconnector.php @@ -50,9 +50,9 @@ while ($user = $doldb->result->fetch_assoc()) $oc_group_user_query = "INSERT INTO oc_group_user(uid, gid) VALUES ('" . $user["login"] . "','" . $gid . "')"; echo $account_data . EOL . $oc_account_query . EOL . $oc_users_query .EOL . $oc_group_user_query . EOL; - } $ncdb->result->close(); + exit } $doldb->result->close(); ?>