diff --git a/post/ticket.php b/post/ticket.php index e006319f..9631f947 100644 --- a/post/ticket.php +++ b/post/ticket.php @@ -1374,7 +1374,7 @@ if (isset($_POST['edit_scheduled_ticket']) || isset($_POST['edit_recurring_ticke header("Location: " . $_SERVER["HTTP_REFERER"]); } -if (isset($_GET['delete_scheduled_ticket']) || isset($_POST['delete_recurring_ticket'])) { +if (isset($_GET['delete_scheduled_ticket']) || isset($_GET['delete_recurring_ticket'])) { validateAdminRole(); @@ -1766,4 +1766,4 @@ if (isset($_GET['cancel_ticket_schedule'])) { $_SESSION['alert_message'] = "Ticket schedule cancelled"; header("Location: " . $_SERVER["HTTP_REFERER"]); -} \ No newline at end of file +}