From 831c9b5a611e2591e3b79170b4e487241e2d9595 Mon Sep 17 00:00:00 2001 From: Bart van Bragt Date: Wed, 27 Nov 2002 13:24:46 +0000 Subject: Initial Lastread support. Mind the schema and config changes\! git-svn-id: file:///svn/phpbb/trunk@3102 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewtopic.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'phpBB/viewtopic.php') diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 8784e2ee91..9a955e6c2f 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -896,6 +896,8 @@ else trigger_error($user->lang['No_posts_topic']); } +markread('topic', $forum_id, $topic_id, $forum_topic_data['topic_last_post_id']); + // Output the page $page_title = $user->lang['View_topic'] .' - ' . $topic_title; include($phpbb_root_path . 'includes/page_header.'.$phpEx); @@ -913,4 +915,4 @@ $db->sql_query($sql); include($phpbb_root_path . 'includes/page_tail.'.$phpEx); -?> \ No newline at end of file +?> -- cgit v1.2.1