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@1594 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-12-15 17:50:28 +00:00
parent 2518d92042
commit 219b7c152c
2 changed files with 2 additions and 2 deletions

View file

@ -1165,7 +1165,7 @@ else if( $query_keywords != "" || $query_author != "" || $search_id )
} }
} }
else if( $topic_rowset[$i]['post_time'] > $userdata['session_last_visit'] ) else if( $topic_rowset[$i]['post_time'] > $userdata['user_lastvisit'] )
{ {
$folder_image = "<img src=\"$folder_new\" alt=\"" . $lang['New_posts'] . "\" title=\"" . $lang['New_posts'] . "\" />"; $folder_image = "<img src=\"$folder_new\" alt=\"" . $lang['New_posts'] . "\" title=\"" . $lang['New_posts'] . "\" />";

View file

@ -560,7 +560,7 @@ if( $total_topics )
} }
} }
else if( $topic_rowset[$i]['post_time'] > $userdata['session_last_visit'] ) else if( $topic_rowset[$i]['post_time'] > $userdata['user_lastvisit'] )
{ {
$folder_image = "<img src=\"$folder_new\" alt=\"" . $lang['New_posts'] . "\" title=\"" . $lang['New_posts'] . "\" />"; $folder_image = "<img src=\"$folder_new\" alt=\"" . $lang['New_posts'] . "\" title=\"" . $lang['New_posts'] . "\" />";