From ca36d1f406bef9ada10b7dff6c5a541ba5110c9e Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Mon, 20 Oct 2008 11:28:30 +0000
Subject: [PATCH] - Patch #319769 by Dave Reid: fixed php notice on
 _db_error_page.

---
 includes/database/database.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/includes/database/database.inc b/includes/database/database.inc
index 8f2fe1f92a7b..e5fafd16eb13 100644
--- a/includes/database/database.inc
+++ b/includes/database/database.inc
@@ -1983,6 +1983,7 @@ function db_change_field(&$ret, $table, $field, $field_new, $spec, $keys_new = a
  */
 function _db_error_page($error = '') {
   global $db_type;
+  drupal_init_language();
   drupal_maintenance_theme();
   drupal_set_header($_SERVER['SERVER_PROTOCOL'] . ' 503 Service Unavailable');
   drupal_set_title('Site offline');
-- 
GitLab