mirror of
https://github.com/itflow-org/itflow
synced 2026-03-21 04:55:39 +00:00
Fix deleting recurring tickets
This commit is contained in:
@@ -1374,7 +1374,7 @@ if (isset($_POST['edit_scheduled_ticket']) || isset($_POST['edit_recurring_ticke
|
|||||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
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();
|
validateAdminRole();
|
||||||
|
|
||||||
@@ -1766,4 +1766,4 @@ if (isset($_GET['cancel_ticket_schedule'])) {
|
|||||||
$_SESSION['alert_message'] = "Ticket schedule cancelled";
|
$_SESSION['alert_message'] = "Ticket schedule cancelled";
|
||||||
|
|
||||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user