mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fix message sending when no smilies exist
see https://tims.bastelstu.be/forum/index.php/Thread/126-Empty-Meldung-bei-Eingabe/
This commit is contained in:
parent
3997f674a4
commit
b459d35c25
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user