diff options
author | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-04-24 18:21:29 +0000 |
---|---|---|
committer | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-04-24 18:21:29 +0000 |
commit | b939242c3a053d33dc24fad2bc5ef4d76f938010 (patch) | |
tree | 4549e816f6f2b970213dbe745f67023ec8799211 /phpBB/includes/functions_display.php | |
parent | c3e4f02d49b86d38ef25fe283e2abff83af78285 (diff) | |
download | forums-b939242c3a053d33dc24fad2bc5ef4d76f938010.tar forums-b939242c3a053d33dc24fad2bc5ef4d76f938010.tar.gz forums-b939242c3a053d33dc24fad2bc5ef4d76f938010.tar.bz2 forums-b939242c3a053d33dc24fad2bc5ef4d76f938010.tar.xz forums-b939242c3a053d33dc24fad2bc5ef4d76f938010.zip |
Fixed some undefined variables
git-svn-id: file:///svn/phpbb/trunk@3947 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r-- | phpBB/includes/functions_display.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index c1a8baff73..6fa6a7375c 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -21,7 +21,8 @@ function display_forums($root_data = '', $display_moderators = TRUE) { - global $db, $template, $auth, $user, $phpEx, $SID, $forum_moderators; + global $db, $template, $auth, $user; + global $config, $phpEx, $SID, $forum_moderators; $visible_forums = 0; @@ -48,7 +49,7 @@ function display_forums($root_data = '', $display_moderators = TRUE) else { $lastread_select = ''; - $lastread_sql = ''; + $sql_lastread = ''; // Cookie based tracking } @@ -238,7 +239,7 @@ function display_forums($root_data = '', $display_moderators = TRUE) } else { - $last_post = $user->lang['NO_POSTS']; + $last_post_time = $last_poster = $last_poster_url = $last_post_url = ''; } // @@ -262,7 +263,6 @@ function display_forums($root_data = '', $display_moderators = TRUE) 'TOPICS' => $row['forum_topics'], 'LAST_POST_TIME' => $last_post_time, 'LAST_POSTER' => $last_poster, - 'LAST_POST' => $last_post, 'MODERATORS' => $moderators_list, 'SUBFORUMS' => $subforums_list, |