From bb8c35b6d1510d05f1ff958c95412a826e59652a Mon Sep 17 00:00:00 2001 From: sraffauf Date: Thu, 22 Jan 2026 21:17:57 +0100 Subject: [PATCH] Fixed deleting tickets Link was not updated --- php/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/admin.php b/php/admin.php index 4c5c58c..2c67f05 100644 --- a/php/admin.php +++ b/php/admin.php @@ -108,7 +108,7 @@ function showTicketDetails(index) { document.getElementById('delete-ticket').addEventListener('click', async () => { if(!confirm("Ticket wirklich löschen?")) return; - const res = await fetch('./backend/delete_ticket.php', { + const res = await fetch('./delete_ticket.php', { method:'POST', headers:{'Content-Type':'application/json'}, body:JSON.stringify({index})