We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
admin/comments
10?comments=1#c7 the link is not working
page_comcount not delete admin comments
new delete code
if ($a == 'delete') { sed_check_xg();
$sql = sed_sql_query("SELECT * FROM $db_com WHERE com_id='$id' LIMIT 1"); $row = sed_sql_fetchassoc($sql); $sql = sed_sql_query("DELETE FROM $db_com WHERE com_id='$id'"); if (mb_substr($row['com_code'], 0, 1) == 'p') { $page_id = mb_substr($row['com_code'], 1, 10); $sql = sed_sql_query("UPDATE $db_pages SET page_comcount=".sed_get_comcount($row['com_code'])." WHERE page_id=".$page_id); } $com_grp = ($usr['isadmin']) ? "adm" : "usr"; sed_log("Deleted comment #".$id." in '".$row['com_code']."'", $com_grp);
header("Location: ".$_SERVER['HTTP_REFERER'].""); exit; }
The text was updated successfully, but these errors were encountered:
Fix comcount #74
462e246
Fix comcount for deleting a comment from the admin panel
Fix 462e246 Thank's Kaan!
Sorry, something went wrong.
No branches or pull requests
admin/comments
10?comments=1#c7
the link is not working
page_comcount not delete admin comments
new delete code
if ($a == 'delete')
{
sed_check_xg();
header("Location: ".$_SERVER['HTTP_REFERER']."");
exit;
}
The text was updated successfully, but these errors were encountered: