From 195ef0f5d3d9c933352fc82129f01d8e4e4c0d54 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sat, 17 May 2014 00:08:15 +0200 Subject: [PATCH] Fixed BBCode tag issue --- wcfsetup/install/files/lib/acp/form/BBCodeAddForm.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/acp/form/BBCodeAddForm.class.php b/wcfsetup/install/files/lib/acp/form/BBCodeAddForm.class.php index 4b41410bc8..855e9a64c5 100644 --- a/wcfsetup/install/files/lib/acp/form/BBCodeAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/BBCodeAddForm.class.php @@ -114,7 +114,7 @@ class BBCodeAddForm extends AbstractForm { if (isset($_POST['allowedChildren'])) $this->allowedChildren = StringUtil::trim($_POST['allowedChildren']); if (isset($_POST['attributes'])) $this->attributes = $_POST['attributes']; - if (isset($_POST['bbcodeTag'])) $this->bbcodeTag = StringUtil::trim($_POST['bbcodeTag']); + if (isset($_POST['bbcodeTag'])) $this->bbcodeTag = mb_strtolower(StringUtil::trim($_POST['bbcodeTag'])); if (isset($_POST['className'])) $this->className = StringUtil::trim($_POST['className']); if (isset($_POST['htmlClose'])) $this->htmlClose = StringUtil::trim($_POST['htmlClose']); if (isset($_POST['htmlOpen'])) $this->htmlOpen = StringUtil::trim($_POST['htmlOpen']); -- 2.20.1