1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

Various changes to accompany session updates ... MSSQL users should be prepared to alter or remove the session_last_visit field or face potential problems

git-svn-id: file:///svn/phpbb/trunk@1588 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2001-12-15 16:40:35 +00:00
parent ec67266aa5
commit 284dbec9cf
5 changed files with 6 additions and 20 deletions

View File

@@ -185,7 +185,7 @@ if($total_categories = $db->sql_numrows($q_categories))
FROM " . FORUMS_TABLE . " f, " . TOPICS_TABLE . " t, " . POSTS_TABLE . " p
WHERE t.forum_id = f.forum_id
AND p.post_id = t.topic_last_post_id
AND p.post_time > " . $userdata['session_last_visit'] . "
AND p.post_time > " . $userdata['user_lastvisit'] . "
AND t.topic_moved_id = 0";
if(!$new_topic_ids = $db->sql_query($sql))
{