From 42de430b278a7533d937c117c8e518f117760316 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 1 Jan 2013 17:18:37 +0100 Subject: [PATCH] Fixes bug in ACPTemplatesFileHandler --- .../files/lib/system/package/ACPTemplatesFileHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."')"); } } } -- 2.20.1