From 859c062238d6cab5e5b8a0b6495044e96f04373c Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 14 Nov 2011 16:47:04 +0100 Subject: [PATCH] Fixed missing templateName variable --- .../files/lib/system/exception/NamedUserException.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/exception/NamedUserException.class.php b/wcfsetup/install/files/lib/system/exception/NamedUserException.class.php index 76058eb660..1549fede10 100644 --- a/wcfsetup/install/files/lib/system/exception/NamedUserException.class.php +++ b/wcfsetup/install/files/lib/system/exception/NamedUserException.class.php @@ -31,7 +31,8 @@ class NamedUserException extends UserException { 'file' => $this->getFile(), 'line' => $this->getLine(), 'message' => $this->_getMessage(), - 'stacktrace' => $this->getTraceAsString() + 'stacktrace' => $this->getTraceAsString(), + 'templateName' => 'userException' )); WCF::getTPL()->display('userException'); } -- 2.20.1