From 6e9e0c14e6be915f18fbb8090276993c7f4415d7 Mon Sep 17 00:00:00 2001
From: Eugen Rochko <eugen@zeonfederated.com>
Date: Mon, 9 Oct 2017 10:05:10 +0200
Subject: [PATCH] Fix dependency of error page generation on database (#5280)

---
 app/views/layouts/error.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/views/layouts/error.html.haml b/app/views/layouts/error.html.haml
index 7d014dff4f..37359b89b9 100644
--- a/app/views/layouts/error.html.haml
+++ b/app/views/layouts/error.html.haml
@@ -9,6 +9,6 @@
     = stylesheet_pack_tag Setting.default_settings['theme'], media: 'all'
   %body.error
     .dialog
-      %img{ alt: title, src: '/oops.gif' }/
+      %img{ alt: Setting.default_settings['site_title'], src: '/oops.gif' }/
       %div
         %h1= yield :content
-- 
GitLab