From 1548b4b00ed446aa1edd43ebe082f24a4ae20858 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 15 Apr 2013 17:14:13 +0200 Subject: [PATCH] Fixes update of options/option categories --- .../plugin/AbstractOptionPackageInstallationPlugin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php index ce422f22ad..3fd5ba6f42 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/AbstractOptionPackageInstallationPlugin.class.php @@ -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']."'"); } -- 2.20.1