From: Marcel Werk Date: Fri, 16 May 2014 22:08:15 +0000 (+0200) Subject: Fixed BBCode tag issue X-Git-Tag: 2.0.7~34 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=195ef0f5d3d9c933352fc82129f01d8e4e4c0d54;p=GitHub%2FWoltLab%2FWCF.git Fixed BBCode tag issue --- 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']);