From 56ca64629a1edd530bf8505aab729ee3bcd5f027 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 25 Jun 2013 14:50:04 +0200 Subject: [PATCH] Fixed check for optional element --- .../package/plugin/BBCodePackageInstallationPlugin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 991a5759ea..901c633ea0 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/BBCodePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/BBCodePackageInstallationPlugin.class.php @@ -90,7 +90,7 @@ class BBCodePackageInstallationPlugin extends AbstractXMLPackageInstallationPlug 'attributes' => (isset($data['elements']['attributes']) ? $data['elements']['attributes'] : array()), 'className' => (!empty($data['elements']['classname']) ? $data['elements']['classname'] : ''), 'isSourceCode' => (!empty($data['elements']['sourcecode']) ? 1 : 0), - 'buttonLabel' => (!empty($data['elements']['buttonlabel']) ? $data['elements']['buttonlabel'] : '') + 'buttonLabel' => (isset($data['elements']['buttonlabel']) ? $data['elements']['buttonlabel'] : '') ); if ($data['wysiwygIcon'] && $data['buttonLabel']) { -- 2.20.1