From 9a06930ae1984b5475c18bd9fc3a7f05f462b47f Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 19 Jan 2018 14:57:48 +0100 Subject: [PATCH] Skip smiley detection if smilies have been disabled --- .../system/html/input/node/HtmlInputNodeTextParser.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeTextParser.class.php b/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeTextParser.class.php index 5554dbc427..95c5ab7751 100644 --- a/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeTextParser.class.php +++ b/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeTextParser.class.php @@ -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); } -- 2.20.1