@ -19,7 +19,7 @@ while ($message = $chat->fetch_assoc()) {
}
$msg = filter_input(INPUT_POST,'msg']);
$msg = filter_input(INPUT_POST,'msg');
$uid = $_SESSION['uid'];
if ($msg) db::c()->query('INSERT INTO `chat` (`cid`, `uid`, `msg`) VALUES (?i, ?i, "?s")', 1, $uid, $msg);
The note is not visible to the blocked user.