diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-12-15 16:40:35 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-12-15 16:40:35 +0000 |
commit | 284dbec9cfcaa1479e56582540c25a1590878cf7 (patch) | |
tree | 52c24f42cfd4a1c2c1f3904089646a96cc461fa2 /phpBB/index.php | |
parent | ec67266aa508fa6be5764c5f78fc8ae0743ae693 (diff) | |
download | forums-284dbec9cfcaa1479e56582540c25a1590878cf7.tar forums-284dbec9cfcaa1479e56582540c25a1590878cf7.tar.gz forums-284dbec9cfcaa1479e56582540c25a1590878cf7.tar.bz2 forums-284dbec9cfcaa1479e56582540c25a1590878cf7.tar.xz forums-284dbec9cfcaa1479e56582540c25a1590878cf7.zip |
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
Diffstat (limited to 'phpBB/index.php')
-rw-r--r-- | phpBB/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/index.php b/phpBB/index.php index 7e875cf890..0df3c67e54 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -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)) { |