1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 19:54:12 +02:00

only small addition for further use...

git-svn-id: file:///svn/phpbb/trunk@4162 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2003-06-21 12:36:00 +00:00
parent 3d36530308
commit 251a5b8f94
6 changed files with 56 additions and 47 deletions

View File

@@ -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);