Fix array index in ACLOptionPackageInstallationPlugin
authorMatthias Schmidt <gravatronics@live.com>
Sat, 13 Oct 2018 13:41:11 +0000 (15:41 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 13 Oct 2018 13:41:11 +0000 (15:41 +0200)
See #2545

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

index a450f413ed6c7f64b99a600981b4ff7cf092072c..2db7042848f52ec3859309c7f122355a785a4cd4 100644 (file)
@@ -561,7 +561,7 @@ class ACLOptionPackageInstallationPlugin extends AbstractOptionPackageInstallati
                                                $oldData['packageID']
                                        ]);
                                        (new ACLOptionCategoryEditor($statement->fetchObject(ACLOptionCategory::class)))->update([
-                                               'categoryNameName' => $newData['name'],
+                                               'categoryName' => $newData['name'],
                                                'objectTypeID' => ObjectTypeCache::getInstance()->getObjectTypeIDByName('com.woltlab.wcf.acl', $newData['objectType'])
                                        ]);