From 4962db5f6715210d4e577fa843f82ffe61b47bc4 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 17 Mar 2006 12:51:32 +0000 Subject: - fix some bugs... git-svn-id: file:///svn/phpbb/trunk@5643 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'phpBB/includes/functions.php') diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 57aa3f9593..e0fb5e51f2 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2295,7 +2295,7 @@ function page_footer() $template->assign_vars(array( 'DEBUG_OUTPUT' => (defined('DEBUG')) ? $debug_output : '', - 'U_ACP' => ($auth->acl_get('a_') && $user->data['is_registered']) ? "{$phpbb_root_path}adm/index.$phpEx?sid=" . $user->data['session_id'] : '') + 'U_ACP' => ($auth->acl_get('a_') && $user->data['is_registered']) ? "{$phpbb_root_path}adm/index.$phpEx?sid=" . $user->session_id : '') ); // Call cron-type script @@ -2419,6 +2419,9 @@ function get_backtrace() } } + $trace['class'] = (!isset($trace['class'])) ? '' : $trace['class']; + $trace['type'] = (!isset($trace['type'])) ? '' : $trace['type']; + $output .= '
'; $output .= 'FILE: ' . htmlspecialchars($trace['file']) . '
'; $output .= 'LINE: ' . $trace['line'] . '
'; -- cgit v1.2.1