remove unnecessary escape

This commit is contained in:
2023-01-31 16:24:04 +01:00
parent ac03be16c3
commit a91bd6a9a7

View File

@@ -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();