Clipboard action show order is now determined per class
authorAlexander Ebert <ebert@woltlab.com>
Wed, 1 Aug 2012 15:05:48 +0000 (17:05 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 1 Aug 2012 15:05:48 +0000 (17:05 +0200)
Fixes #732

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

index 21aabe7af72b8ff6b46696c6700681d20becf9da..5e8471996bcf932fcd947e39c4edc1e12041b6a1 100644 (file)
@@ -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'],