From b6dbc2ad5ad311323757c6c143a9998d00790ed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 31 Jan 2023 16:33:13 +0100 Subject: [PATCH] fix --- index.php | 2 ++ templates/admin.html | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 664854e..f7644ab 100755 --- a/index.php +++ b/index.php @@ -359,6 +359,7 @@ if (!empty($_GET["admin"])){ $stmt5->bind_param('i', $idcko); $stmt5->execute(); $stmt5->store_result(); + exit(); } else{ $deleteid = intval(htmlspecialchars($_POST['deletechatmsg'])); @@ -367,6 +368,7 @@ if (!empty($_GET["admin"])){ $stmt6->bind_param('ii', $idcko, $deleteid); $stmt6->execute(); $stmt6->store_result(); + exit(); } } } diff --git a/templates/admin.html b/templates/admin.html index e7e23a1..ea7a90e 100755 --- a/templates/admin.html +++ b/templates/admin.html @@ -5,9 +5,9 @@