Update post_mod_comment.php

This commit is contained in:
Roman Kelesidis 2024-03-27 18:50:54 +07:00
parent 1b0e148e44
commit aea496d796

View File

@ -7,7 +7,7 @@ global $lang, $userdata;
$post_id = (int) $this->request['post_id']; $post_id = (int) $this->request['post_id'];
$mc_type = (int) $this->request['mc_type']; $mc_type = (int) $this->request['mc_type'];
$mc_text = (string) $this->request['mc_text']; $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(" $post = DB()->fetch_row("
SELECT SELECT