diff --git a/nconnector.php b/nconnector.php index 22415e0..a1c6ed4 100755 --- a/nconnector.php +++ b/nconnector.php @@ -61,7 +61,7 @@ while ($user = $doldb->result->fetch_assoc()) if (($account_data = json_encode($data)) == false ) { echo json_last_error(); - exit 0; + exit (0); } $oc_account_query = "INSERT INTO oc_accounts (uid, data) VALUES ('" . $user["login"] . "','" . $account_data ."')";