aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-01-28 18:13:56 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-01-28 18:13:56 +0000
commit0993bab8ee54090a47da90ea6573bcd0685225bc (patch)
treeaa880bf351c8467d58627ac50d54f28795857dca /phpBB
parentd64aaba706057c103b0443884e1156322c8731b8 (diff)
downloadforums-0993bab8ee54090a47da90ea6573bcd0685225bc.tar
forums-0993bab8ee54090a47da90ea6573bcd0685225bc.tar.gz
forums-0993bab8ee54090a47da90ea6573bcd0685225bc.tar.bz2
forums-0993bab8ee54090a47da90ea6573bcd0685225bc.tar.xz
forums-0993bab8ee54090a47da90ea6573bcd0685225bc.zip
And another fix for warnings ...
git-svn-id: file:///svn/phpbb/trunk@2002 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index ef53a5b5bc..079dfc8509 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -67,8 +67,8 @@ if( $mark_read == "forums" )
// End handle marking posts
//
-$tracking_topics = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) : "";
-$tracking_forums = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) : "";
+$tracking_topics = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) : array();
+$tracking_forums = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) : array();
//
// If you don't use these stats on your index