From b459d35c2549e73aeb99aa5dc5ccfae62a51d221 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 11 Mar 2014 20:40:45 +0100 Subject: [PATCH] Fix message sending when no smilies exist see https://tims.bastelstu.be/forum/index.php/Thread/126-Empty-Meldung-bei-Eingabe/ --- file/lib/data/message/MessageAction.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/lib/data/message/MessageAction.class.php b/file/lib/data/message/MessageAction.class.php index a3b2425..5e6d534 100644 --- a/file/lib/data/message/MessageAction.class.php +++ b/file/lib/data/message/MessageAction.class.php @@ -61,7 +61,7 @@ public function validateSend() { // read parameters $this->readString('text'); - $this->readBoolean('enableSmilies'); + $this->readBoolean('enableSmilies', true); $this->parameters['text'] = MessageUtil::stripCrap($this->parameters['text']); $this->parameters['enableHTML'] = false;