diff --git a/code/controllers/DocumentationViewer.php b/code/controllers/DocumentationViewer.php index 95155e8..08e890d 100755 --- a/code/controllers/DocumentationViewer.php +++ b/code/controllers/DocumentationViewer.php @@ -244,6 +244,8 @@ class DocumentationViewer extends Controller { * @return HttpResponse */ function throw404() { + $this->init(); + $class = get_class($this); $body = $this->renderWith(array("{$class}_error", $class));