Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
FreekBes committed Nov 18, 2019
1 parent f9b7fc4 commit 61da619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import/cancel-cb.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function returnData($msg, $stuff) {
$reservation = $damstedeDB->getCartReservation($_POST["id"]);
if ($reservation["user"] === $_SESSION["user"]["code"]) {
if ($damstedeDB->cancelReservation($_POST["id"])) {
returnData("De reservering is geannuleerd.", $damstedeDB->makeSafe($_POST["id"]));
returnData("De reservering is geannuleerd.", null);
}
else {
returnError("Kon reservering niet annuleren. Probeer het later opnieuw.");
Expand Down

0 comments on commit 61da619

Please sign in to comment.