aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/search.php2
-rw-r--r--phpBB/viewforum.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 064ed3f4b4..6bb87c117c 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -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'] . "\" />";
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index b7ed1079fd..d9897fe8c8 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -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'] . "\" />";