From: Alexander Ebert Date: Wed, 1 Aug 2012 15:05:48 +0000 (+0200) Subject: Clipboard action show order is now determined per class X-Git-Tag: 2.0.0_Beta_1~885^2~3^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=628e700aabf4f520fd80b66f836822b81d207394;p=GitHub%2FWoltLab%2FWCF.git Clipboard action show order is now determined per class Fixes #732 --- diff --git a/wcfsetup/install/files/lib/system/package/plugin/ClipboardActionPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/ClipboardActionPackageInstallationPlugin.class.php index 21aabe7af7..5e8471996b 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/ClipboardActionPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/ClipboardActionPackageInstallationPlugin.class.php @@ -76,7 +76,7 @@ class ClipboardActionPackageInstallationPlugin extends AbstractXMLPackageInstall */ protected function prepareImport(array $data) { $showOrder = (isset($data['elements']['showorder'])) ? intval($data['elements']['showorder']) : null; - $showOrder = $this->getShowOrder($showOrder); + $showOrder = $this->getShowOrder($showOrder, $data['elements']['actionclassname'], 'actionClassName'); return array( 'actionClassName' => $data['elements']['actionclassname'],