From 79887770a6e0356a98cead582c18dc76b98ac060 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 29 Nov 2011 18:35:32 +0100 Subject: [PATCH] Fixed template scripting error --- .../lib/system/exception/PermissionDeniedException.class.php | 4 ++++ 1 file changed, 4 insertions(+) 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'); } } -- 2.20.1