Fixed missing templateName variable
authorMarcel Werk <burntime@woltlab.com>
Mon, 14 Nov 2011 15:47:04 +0000 (16:47 +0100)
committerMarcel Werk <burntime@woltlab.com>
Mon, 14 Nov 2011 15:47:04 +0000 (16:47 +0100)
wcfsetup/install/files/lib/system/exception/NamedUserException.class.php

index 76058eb660c97523a8f8f6e159ed4a9057943162..1549fede1026f1bf49498a1e8a603cde5ac23006 100644 (file)
@@ -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');
        }