From: Matthias Schmidt Date: Mon, 15 Apr 2013 15:14:13 +0000 (+0200) Subject: Fixes update of options/option categories X-Git-Tag: 2.0.0_Beta_1~351 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1548b4b00ed446aa1edd43ebe082f24a4ae20858;p=GitHub%2FWoltLab%2FWCF.git Fixes update of options/option categories --- 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']."'"); }