diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2005-10-19 18:00:10 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-10-19 18:00:10 +0000 |
| commit | b873b37607762868580bdd21b9c90f05db168921 (patch) | |
| tree | b759644207a9579a9969a36812d6e8417df45485 /phpBB/search.php | |
| parent | 719763dec21c431b41adb8855f6fc4cd007b418b (diff) | |
| download | forums-b873b37607762868580bdd21b9c90f05db168921.tar forums-b873b37607762868580bdd21b9c90f05db168921.tar.gz forums-b873b37607762868580bdd21b9c90f05db168921.tar.bz2 forums-b873b37607762868580bdd21b9c90f05db168921.tar.xz forums-b873b37607762868580bdd21b9c90f05db168921.zip | |
- updated topic tracking code
- additional changes (mostly bugfixes)
- bart, if you update your user table with the user_lastmark field, set it to the user_lastvisit value ;)
- and last but not least, introducing some bugs in ucp main front (regarding topic tracking)
git-svn-id: file:///svn/phpbb/trunk@5272 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
| -rw-r--r-- | phpBB/search.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index a092105b94..75ca8b57d3 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -36,7 +36,7 @@ $search_fields = request_var('search_fields', 'all'); $search_child = request_var('search_child', true); $return_chars = request_var('return_chars', 200); -$search_forum = request_var('search_forum', 0); +$search_forum = request_var('search_forum', array(0)); $sort_days = request_var('st', 0); $sort_key = request_var('sk', 't'); @@ -251,7 +251,7 @@ if ($keywords || $author || $search_id || $search_session_id) /** * @todo add to config */ - $config['search_type'] = 'mysql'; + $config['search_type'] = 'phpbb'; // Select which method we'll use to obtain the post_id information $smid = ''; @@ -468,7 +468,7 @@ if ($keywords || $author || $search_id || $search_session_id) $replies = ($auth->acl_get('m_approve', $forum_id)) ? $row['topic_replies_real'] : $row['topic_replies']; $folder_img = $folder_alt = $topic_type = ''; - topic_status($row, $replies, time(), time(), $folder_img, $folder_alt, $topic_type); + topic_status($row, $replies, false, $folder_img, $folder_alt, $topic_type); $tpl_ary = array( 'TOPIC_AUTHOR' => topic_topic_author($row), |
