From: Matthias Schmidt Date: Sun, 14 Oct 2018 07:56:34 +0000 (+0200) Subject: Fix icon handing in bbcode PIP GUI X-Git-Tag: 5.2.0_Alpha_1~638 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=40c1f7e4d70539910be04d5b3c64cdf24b81bd88;p=GitHub%2FWoltLab%2FWCF.git Fix icon handing in bbcode PIP GUI See #2545 --- diff --git a/wcfsetup/install/files/lib/system/package/plugin/BBCodePackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/BBCodePackageInstallationPlugin.class.php index bdb8f2c999..635a892618 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/BBCodePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/BBCodePackageInstallationPlugin.class.php @@ -248,7 +248,7 @@ class BBCodePackageInstallationPlugin extends AbstractXMLPackageInstallationPlug 'htmlOpen' => 'htmlopen', 'isBlockElement' => 'isBlockElement', 'isSourceCode' => 'sourcecode', - 'wysiwygIcon' => 'wysiwygicon' + 'wysiwygicon' => 'wysiwygicon' ]; foreach ($optionalElements as $arrayKey => $elementName) { $child = $element->getElementsByTagName($elementName)->item(0); @@ -257,7 +257,7 @@ class BBCodePackageInstallationPlugin extends AbstractXMLPackageInstallationPlug } } - if (!empty($data['wysiwygIcon']) && !empty($data['buttonLabel'])) { + if (!empty($data['wysiwygicon']) && !empty($data['buttonLabel'])) { $data['showButton'] = 1; }