From db8b4ec26ebeb0e5150e41d6eb700e18384529f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 19 Mar 2013 18:25:13 +0100 Subject: [PATCH] Readd usage of PreParser which got lost in 805d7a3a11945a7dd9883226a05cf6f7524881ed --- file/lib/data/message/MessageAction.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/file/lib/data/message/MessageAction.class.php b/file/lib/data/message/MessageAction.class.php index a09cb68..902751c 100644 --- a/file/lib/data/message/MessageAction.class.php +++ b/file/lib/data/message/MessageAction.class.php @@ -122,6 +122,8 @@ public function validateSend() { $this->parameters['type'] = Message::TYPE_NORMAL; $this->parameters['receiver'] = null; } + + $this->parameters['text'] = PreParser::getInstance()->parse($this->parameters['text'], explode(',', WCF::getSession()->getPermission('user.chat.allowedBBCodes'))); } /**