From a91bd6a9a75e4e14b4399a53e36ee7a56169f6c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 31 Jan 2023 16:24:04 +0100 Subject: [PATCH] remove unnecessary escape --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 05b08c2..664854e 100755 --- a/index.php +++ b/index.php @@ -354,7 +354,7 @@ if (!empty($_GET["admin"])){ while ($stmt->fetch()) { if (!empty($_GET['deletechatmsg'])&&!empty($_POST['deletechatmsg'])){ - if(htmlspecialchars($_POST['deletechatmsg']) == "*"){ + if($_POST['deletechatmsg'] == "*"){ $stmt5 = $mysqli->prepare("DELETE from Chat WHERE StreamID = ?;"); $stmt5->bind_param('i', $idcko); $stmt5->execute();