Fix icon handing in bbcode PIP GUI
authorMatthias Schmidt <gravatronics@live.com>
Sun, 14 Oct 2018 07:56:34 +0000 (09:56 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 14 Oct 2018 07:56:34 +0000 (09:56 +0200)
See #2545

wcfsetup/install/files/lib/system/package/plugin/BBCodePackageInstallationPlugin.class.php

index bdb8f2c999206206f40b321e2a7cb1d7ae5e8d3c..635a8926180fa49f6baf772ddcb92bebbae36d1f 100644 (file)
@@ -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;
                }