diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-05-24 00:30:53 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-05-24 00:30:53 +0000 |
| commit | f381c0d3ef39a078a21b727a07caeeeef2745fa4 (patch) | |
| tree | f9300d4118baca17de470143ad6ac722b62a767d /phpBB/viewforum.php | |
| parent | bea13814e7831d3a5f19709e598dbefbae6e222d (diff) | |
| download | forums-f381c0d3ef39a078a21b727a07caeeeef2745fa4.tar forums-f381c0d3ef39a078a21b727a07caeeeef2745fa4.tar.gz forums-f381c0d3ef39a078a21b727a07caeeeef2745fa4.tar.bz2 forums-f381c0d3ef39a078a21b727a07caeeeef2745fa4.tar.xz forums-f381c0d3ef39a078a21b727a07caeeeef2745fa4.zip | |
more fun with cookies
git-svn-id: file:///svn/phpbb/trunk@4054 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
| -rw-r--r-- | phpBB/viewforum.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 25c88712fd..12b72b5bae 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -519,7 +519,7 @@ if ($forum_data['forum_type'] == FORUM_POST) if ($config['load_db_lastread']) { - if ($row['mark_time'] > $row['topic_last_post_time'] && !isset($update_forum)) + if ($row['mark_time'] >= $row['topic_last_post_time'] && !isset($update_forum)) { $update_forum = true; } @@ -530,7 +530,7 @@ if ($forum_data['forum_type'] == FORUM_POST) } else { - if ($tracking_topics[$topic_id] > $row['topic_last_post_time'] && !isset($update_forum)) + if ($tracking_topics[$topic_id] >= $row['topic_last_post_time'] && !isset($update_forum)) { $update_forum = true; } @@ -549,7 +549,7 @@ if ($forum_data['forum_type'] == FORUM_POST) // after reading a topic if ($user->data['user_id'] != ANONYMOUS && $update_forum) { - markread('mark', $forum_id); + markread('mark', $forum_id, false, time()); } } |
