diff options
author | Ruslan Uzdenov <rxu@mail.ru> | 2009-08-17 13:28:28 +0000 |
---|---|---|
committer | Ruslan Uzdenov <rxu@mail.ru> | 2009-08-17 13:28:28 +0000 |
commit | 45f570038426f36d547dcdc23ef631bd48a7dc6e (patch) | |
tree | fddf174014f9a70aab8075b475fc36278bd27b82 /phpBB/search.php | |
parent | b4297abf2a6aca7e6d3ffccbb61c096a5c590f86 (diff) | |
download | forums-45f570038426f36d547dcdc23ef631bd48a7dc6e.tar forums-45f570038426f36d547dcdc23ef631bd48a7dc6e.tar.gz forums-45f570038426f36d547dcdc23ef631bd48a7dc6e.tar.bz2 forums-45f570038426f36d547dcdc23ef631bd48a7dc6e.tar.xz forums-45f570038426f36d547dcdc23ef631bd48a7dc6e.zip |
Add unread posts search support for cookie-based tracking
Authorised by: AcydBurn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10005 89ea8834-ac86-4346-8a33-228a782c2dd0
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']; |