From 40c1f7e4d70539910be04d5b3c64cdf24b81bd88 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 14 Oct 2018 09:56:34 +0200 Subject: [PATCH] Fix icon handing in bbcode PIP GUI See #2545 --- .../package/plugin/BBCodePackageInstallationPlugin.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.20.1