From 1f167db1f6aa33ef25fdc86ee6449d795186bfb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ste=CC=81phane=20Goetz?= Date: Sun, 19 Jul 2015 14:04:29 +0200 Subject: [PATCH] Fixed error page --- libs/Server/ErrorPage.php | 1 + templates/layout/05_page.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/Server/ErrorPage.php b/libs/Server/ErrorPage.php index 74439a9..5311e64 100644 --- a/libs/Server/ErrorPage.php +++ b/libs/Server/ErrorPage.php @@ -34,6 +34,7 @@ class ErrorPage extends SimplePage $page = [ 'title' => $this->title, 'content' => $this->content, + 'language' => '', ]; $template = new Template($params['templates'], $params['theme']['templates']); diff --git a/templates/layout/05_page.php b/templates/layout/05_page.php index 9703764..44b5346 100644 --- a/templates/layout/05_page.php +++ b/templates/layout/05_page.php @@ -22,8 +22,8 @@