Commit ca36d1f4 authored by Dries's avatar Dries

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

parent 3de6420c
......@@ -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');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment