fix
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user