aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-06-21 12:36:00 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-06-21 12:36:00 +0000
commit251a5b8f94c956f722660207f6ceb67057b6de81 (patch)
treecc0829a82cc896366ff42c19bc0b029b686ca9d7 /phpBB/viewtopic.php
parent3d36530308e85b4ec7da1e9ffb26e1bbc93cb5f2 (diff)
downloadforums-251a5b8f94c956f722660207f6ceb67057b6de81.tar
forums-251a5b8f94c956f722660207f6ceb67057b6de81.tar.gz
forums-251a5b8f94c956f722660207f6ceb67057b6de81.tar.bz2
forums-251a5b8f94c956f722660207f6ceb67057b6de81.tar.xz
forums-251a5b8f94c956f722660207f6ceb67057b6de81.zip
only small addition for further use...
git-svn-id: file:///svn/phpbb/trunk@4162 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 0c1037774e..ac871350a1 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1045,7 +1045,7 @@ unset($user_cache);
if (!preg_match("#&t=$topic_id#", $user->data['session_page']))
{
$sql = 'UPDATE ' . TOPICS_TABLE . "
- SET topic_views = topic_views + 1
+ SET topic_views = topic_views + 1, topic_last_view_time = " . time() . "
WHERE topic_id = $topic_id";
$db->sql_query($sql);