From 9a2a5a6b2a74cb45c099783c4f03804cf8c18940 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 9 Feb 2008 23:25:53 +0000 Subject: [PATCH] Report#61, Part II: Online user: debug errors and empty box if it is disabled in the board config - reported by Christian_N --- root/portal.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/portal.php b/root/portal.php index eff6bb07..e33e00df 100644 --- a/root/portal.php +++ b/root/portal.php @@ -114,7 +114,7 @@ if ( $load_center === TRUE ) } */ - if ($portal_config['portal_whois_online']) + if ($config['load_online'] && $config['load_online_time'] && $portal_config['portal_whois_online']) { include($phpbb_root_path . 'portal/block/whois_online.'.$phpEx); } @@ -257,4 +257,4 @@ make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx")); page_footer(); -?> +?> \ No newline at end of file