diff --git a/GameEngine/Message.php b/GameEngine/Message.php index 881cc1ef..8ee848df 100644 --- a/GameEngine/Message.php +++ b/GameEngine/Message.php @@ -458,7 +458,7 @@ class Message { } } } - $database->sendMessage($user, $session->uid, $topic, $text, 0, $alliance, $player, $coor, $report); + $database->sendMessage($user, $session->uid, addslashes($topic), addslashes($text), 0, $alliance, $player, $coor, $report); } } @@ -573,4 +573,4 @@ class Message { } } -; \ No newline at end of file +;