From: Matthias Schmidt Date: Tue, 7 May 2013 09:25:17 +0000 (+0200) Subject: Corrects unique application abbreviation check X-Git-Tag: 2.0.0_Beta_1~237 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4e82ea8452a5d88bb5ace944b4cd5bf192ac995e;p=GitHub%2FWoltLab%2FWCF.git Corrects unique application abbreviation check --- diff --git a/wcfsetup/install/files/lib/system/package/PackageArchive.class.php b/wcfsetup/install/files/lib/system/package/PackageArchive.class.php index c1ea46d3d5..475a1ac2fb 100644 --- a/wcfsetup/install/files/lib/system/package/PackageArchive.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageArchive.class.php @@ -454,7 +454,7 @@ class PackageArchive { $statement = WCF::getDB()->prepareStatement($sql); $statement->execute(array( 1, - '%'.Package::getAbbreviation($this->packageInfo['name']) + '%.'.Package::getAbbreviation($this->packageInfo['name']) )); return $statement->fetchColumn();