From ceef85ee0e4e425b5f1a79a378506752d46cef02 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Thu, 12 Jun 2014 14:33:00 +0200 Subject: [ticket/12687] Return a string and move the displaying of the sql report PHPBB3-12687 --- phpBB/includes/functions_acp.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/includes/functions_acp.php') diff --git a/phpBB/includes/functions_acp.php b/phpBB/includes/functions_acp.php index 86eaf856de..037749f7e9 100644 --- a/phpBB/includes/functions_acp.php +++ b/phpBB/includes/functions_acp.php @@ -146,9 +146,10 @@ function adm_page_footer($copyright_html = true) return; } - display_debug_output(); + phpbb_check_and_display_sql_report(); $template->assign_vars(array( + 'DEBUG_OUTPUT' => phpbb_generate_debug_output(), 'TRANSLATION_INFO' => (!empty($user->lang['TRANSLATION_INFO'])) ? $user->lang['TRANSLATION_INFO'] : '', 'S_COPYRIGHT_HTML' => $copyright_html, 'CREDIT_LINE' => $user->lang('POWERED_BY', 'phpBB® Forum Software © phpBB Limited'), -- cgit v1.2.1