From: Matthias Schmidt Date: Tue, 1 Jan 2013 16:18:37 +0000 (+0100) Subject: Fixes bug in ACPTemplatesFileHandler X-Git-Tag: 2.0.0_Beta_1~620^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=42de430b278a7533d937c117c8e518f117760316;p=GitHub%2FWoltLab%2FWCF.git Fixes bug in ACPTemplatesFileHandler --- diff --git a/wcfsetup/install/files/lib/system/package/ACPTemplatesFileHandler.class.php b/wcfsetup/install/files/lib/system/package/ACPTemplatesFileHandler.class.php index c268901c8b..3cc01ad058 100644 --- a/wcfsetup/install/files/lib/system/package/ACPTemplatesFileHandler.class.php +++ b/wcfsetup/install/files/lib/system/package/ACPTemplatesFileHandler.class.php @@ -60,7 +60,7 @@ class ACPTemplatesFileHandler extends PackageInstallationFileHandler { foreach ($fileNames as $key => $file) { if (isset($lockedFiles[$file]) && $packageID != $lockedFiles[$file]) { $owningPackage = new Package($lockedFiles[$file]); - throw new SystemException("A non-application package can't overwrite template files. Only an update from the package which owns the template can do that. (Package '".$this->packageInstallation->getPackage()->getPackage()."' tries to overwrite template '".$file."', which is owned by package '".$owningPackage->package."')"); + throw new SystemException("A non-application package can't overwrite template files. Only an update from the package which owns the template can do that. (Package '".$this->packageInstallation->getPackage()->package."' tries to overwrite template '".$file."', which is owned by package '".$owningPackage->package."')"); } } }