diff --git a/modules/chat.mod.php b/modules/chat.mod.php index f6bab22..9c49634 100644 --- a/modules/chat.mod.php +++ b/modules/chat.mod.php @@ -17,9 +17,8 @@ Chat user_id, text) VALUES - ( - {$this -> user_id}, - '{$this -> text}')"; + ({$this -> user_id}, + '{$this -> text}')"; $GLOBALS['__db_connection'] -> query ($sql) or die ("db_insert error $sql"); }