diff --git a/app/destinations/destination_delete.php b/app/destinations/destination_delete.php index e473659e65..2d6d6bc3d0 100644 --- a/app/destinations/destination_delete.php +++ b/app/destinations/destination_delete.php @@ -45,8 +45,8 @@ else { $id = check_str($_GET["id"]); } -//if no id then exit - if (isset($id)) { +//if the ID is not set then exit + if (!isset($id)) { echo "ID is required."; exit; }