diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-12-17 03:15:09 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-12-17 03:15:09 +0000 |
| commit | 4f2db0f4145efafd693eb74cdaecd125d4678854 (patch) | |
| tree | d9eeeff7ae1a1843de7da6d7018c9e8b710482b8 /phpBB/viewtopic.php | |
| parent | 7ad2cf2c9728183bdd43bb31590aa8721aeb1dda (diff) | |
| download | forums-4f2db0f4145efafd693eb74cdaecd125d4678854.tar forums-4f2db0f4145efafd693eb74cdaecd125d4678854.tar.gz forums-4f2db0f4145efafd693eb74cdaecd125d4678854.tar.bz2 forums-4f2db0f4145efafd693eb74cdaecd125d4678854.tar.xz forums-4f2db0f4145efafd693eb74cdaecd125d4678854.zip | |
Another lastvisit name change missed
git-svn-id: file:///svn/phpbb/trunk@1619 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index bdde34167e..d5d9be710c 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -193,7 +193,7 @@ if(!empty($post_id)) $is_auth = array(); $is_auth = auth(AUTH_ALL, $forum_id, $userdata, $forum_row); -if(!$is_auth['auth_view'] || !$is_auth['auth_read']) +if( !$is_auth['auth_view'] || !$is_auth['auth_read'] ) { // // The user is not authed to read this forum ... @@ -772,7 +772,7 @@ for($i = 0; $i < $total_posts; $i++) // // Define the little post icon // - if( $postrow[$i]['post_time'] > $userdata['session_last_visit'] && $postrow[$i]['post_time'] > $topic_last_read ) + if( $userdata['session_logged_in'] && $postrow[$i]['post_time'] > $userdata['user_lastvisit'] && $postrow[$i]['post_time'] > $topic_last_read ) { $mini_post_img = '<img src="' . $images['icon_minipost_new'] . '" alt="' . $lang['New_post'] . '" title="' . $lang['New_post'] . '" border="0" />'; } |
