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."')");
}
}
}