Fix adding new options via PIP GUI
authorMatthias Schmidt <gravatronics@live.com>
Sat, 24 Nov 2018 13:26:25 +0000 (14:26 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 24 Nov 2018 13:26:25 +0000 (14:26 +0100)
See #2545

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

index 55bbac7efb12179bef8c80c94e3d41e9a58ebb90..ff422f55f1ef8de922cf4f38f660b0d311db77cf 100644 (file)
@@ -806,8 +806,8 @@ abstract class AbstractOptionPackageInstallationPlugin extends AbstractXMLPackag
                                                // only set explicit showOrder when adding new categories
                                                $data['showorder'] = $this->getShowOrder(
                                                        $data['showorder'] ?? null,
-                                                       $data['categoryName'],
-                                                       'categoryName'
+                                                       $data['categoryname'],
+                                                       'categoryname'
                                                );
                                        }