diff options
Diffstat (limited to 'phpBB/search.php')
-rw-r--r-- | phpBB/search.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index 3556c5b435..f991e8e023 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -372,8 +372,6 @@ if ($keywords || $author || $author_id || $search_id || $submit) break; case 'unreadposts': - if ($config['load_db_lastread'] && $user->data['is_registered']) - { $l_search_title = $user->lang['SEARCH_UNREAD']; // force sorting $show_results = 'topics'; @@ -399,10 +397,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) $sql_sort"; $field = 'topic_id'; } - break; - } - // Do nothing if it's cookie based read tracking - // Just do not break and let user to see newposts + break; case 'newposts': $l_search_title = $user->lang['SEARCH_NEW']; |