From: Marcel Werk Date: Tue, 29 Nov 2011 17:35:32 +0000 (+0100) Subject: Fixed template scripting error X-Git-Tag: 2.0.0_Beta_1~1562 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=79887770a6e0356a98cead582c18dc76b98ac060;p=GitHub%2FWoltLab%2FWCF.git Fixed template scripting error --- diff --git a/wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php b/wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php index 45ebe49365..7e5115582d 100644 --- a/wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php +++ b/wcfsetup/install/files/lib/system/exception/PermissionDeniedException.class.php @@ -25,6 +25,10 @@ class PermissionDeniedException extends UserException { */ public function show() { @header('HTTP/1.0 403 Forbidden'); + + WCF::getTPL()->assign(array( + 'templateName' => 'permissionDenied' + )); WCF::getTPL()->display('permissionDenied'); } }