Corrects unique application abbreviation check
authorMatthias Schmidt <gravatronics@live.com>
Tue, 7 May 2013 09:25:17 +0000 (11:25 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 7 May 2013 09:25:17 +0000 (11:25 +0200)
wcfsetup/install/files/lib/system/package/PackageArchive.class.php

index c1ea46d3d5b67d6afd7d505cc20f53d66560384b..475a1ac2fb6c3786bb824c2a60f6a6e3606ccbef 100644 (file)
@@ -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();