Fixes update of options/option categories
authorMatthias Schmidt <gravatronics@live.com>
Mon, 15 Apr 2013 15:14:13 +0000 (17:14 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 15 Apr 2013 15:14:13 +0000 (17:14 +0200)
wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php

index ce422f22ad8e8bebe11517aa5e05b2fe814f3e7b..3fd5ba6f42135fb929660a067711f2a52d6a6857 100644 (file)
@@ -229,7 +229,7 @@ abstract class AbstractOptionPackageInstallationPlugin extends AbstractXMLPackag
                        $statement->execute($data);
                }
                else {
-                       if ($row['categoryID'] != $this->installation->getPackageID()) {
+                       if ($row['packageID'] != $this->installation->getPackageID()) {
                                throw new SystemException("Cannot override existing category '".$category['categoryName']."'");
                        }