Fix deleting recurring tickets

This commit is contained in:
wrongecho 2024-02-16 12:15:55 +00:00 committed by GitHub
parent 2a4efe629f
commit e6418046aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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"]);
}
}