diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index d5fac92de6..96aa6c14b5 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1042,10 +1042,9 @@ function message_die($msg_code, $msg_text = "", $msg_title = "", $err_line = "", { $template = new Template($phpbb_root_path . "templates/" . $board_config['board_template']); } - if( empty($theme) ) { - $theme = setup_style($board_config['default_theme']); + $theme = setup_style($board_config['default_style']); } //