From ca02c1ca30468721a0d60d1da60b19a3ccb29d55 Mon Sep 17 00:00:00 2001 From: lopar Date: Fri, 2 Mar 2018 01:35:06 +0200 Subject: [PATCH] =?UTF-8?q?=D0=A7=D0=B0=D1=82=20=D0=BD=D0=B0=20=D0=BA?= =?UTF-8?q?=D0=BE=D0=BB=D0=B5=D0=BD=D0=BA=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat.php b/chat.php index 8ad7f3c..50d2580 100644 --- a/chat.php +++ b/chat.php @@ -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);