Skip smiley detection if smilies have been disabled
authorAlexander Ebert <ebert@woltlab.com>
Fri, 19 Jan 2018 13:57:48 +0000 (14:57 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 19 Jan 2018 13:57:48 +0000 (14:57 +0100)
wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeTextParser.class.php

index 5554dbc427f5bfe5759cab5bf9db47c3f50011c0..95c5ab7751298635da79275699abfb77c9f5e4a3 100644 (file)
@@ -200,7 +200,7 @@ class HtmlInputNodeTextParser {
                                $value = $this->parseEmail($node, $value);
                        }
                        
-                       if ($this->smileyCount !== 50) {
+                       if (MODULE_SMILEY && $this->smileyCount !== 50) {
                                $value = $this->parseSmiley($node, $value);
                        }