From: Alexander Ebert Date: Tue, 25 Jun 2013 12:50:04 +0000 (+0200) Subject: Fixed check for optional element X-Git-Tag: 2.0.0_Beta_5~133 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=56ca64629a1edd530bf8505aab729ee3bcd5f027;p=GitHub%2FWoltLab%2FWCF.git Fixed check for optional element --- 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']) {