From 60a5f64ff9d5ddb33563258d5073c958d00327a1 Mon Sep 17 00:00:00 2001 From: lopar Date: Mon, 5 Nov 2018 23:02:19 +0200 Subject: [PATCH] Fix chat --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 7cd611e..1c76d38 100644 --- a/functions.php +++ b/functions.php @@ -2518,7 +2518,7 @@ function addchp($text, $who, $room = 0) * Отправка системного сообщения в чат. */function AddChatSystem($msg) { - if ($msg) db::c()->query('INSERT INTO `chat` (`cid`,`uid`,`msg`,`type`) VALUES (?i,"?s","?s","?s")', 1, 'System', $msg, 'sys'); + if ($msg) db::c()->query('INSERT INTO `chat` (`cid`,`msg`,`type`) VALUES (?i,"?s","?s")', 1, $msg, 'sys'); } function err($t)