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 @@