mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update post_mod_comment.php
This commit is contained in:
parent
1b0e148e44
commit
aea496d796
@ -7,7 +7,7 @@ global $lang, $userdata;
|
||||
$post_id = (int) $this->request['post_id'];
|
||||
$mc_type = (int) $this->request['mc_type'];
|
||||
$mc_text = (string) $this->request['mc_text'];
|
||||
if (!$mc_text = prepare_message($mc_text)) $this->ajax_die($lang['EMPTY_MESSAGE']);
|
||||
if ($mc_type != 0 && !$mc_text = prepare_message($mc_text)) $this->ajax_die($lang['EMPTY_MESSAGE']);
|
||||
|
||||
$post = DB()->fetch_row("
|
||||
SELECT
|
||||
|
Loading…
Reference in New Issue
Block a user