This commit is contained in:
2023-01-31 16:33:13 +01:00
parent a91bd6a9a7
commit b6dbc2ad5a
2 changed files with 4 additions and 2 deletions

View File

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

View File

@@ -5,9 +5,9 @@
<script>
__LOCALIZATION_LANGSELECT_SCRIPT__
function deleteit(indexik){
$.post("index.php?admin=1&delete=1",
$.post("index.php?admin=1&deletechatmsg=1",
{
delete: indexik
deletechatmsg: indexik
},
function(data, status){
updateTable();