Skip to content
Snippets Groups Projects
Commit ca36d1f4 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #319769 by Dave Reid: fixed php notice on _db_error_page.

parent 3de6420c
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment