From c8ba3ffd2ad7df8ff3d34fed99fe7f4de8da9078 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Sat, 11 Jan 2014 16:20:53 +1300 Subject: [PATCH] Fix 404 page not including requirements. --- code/controllers/DocumentationViewer.php | 2 ++ 1 file changed, 2 insertions(+) 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));