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)