mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
security fix
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4868 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c1606f686a
commit
0ec75e5c4d
1 changed files with 3 additions and 1 deletions
|
@ -69,6 +69,7 @@ else
|
|||
$search_id = ( isset($HTTP_GET_VARS['search_id']) ) ? $HTTP_GET_VARS['search_id'] : '';
|
||||
|
||||
$show_results = ( isset($HTTP_POST_VARS['show_results']) ) ? $HTTP_POST_VARS['show_results'] : 'posts';
|
||||
$show_results = ($show_results == 'topics') ? 'topics' : 'posts';
|
||||
|
||||
if ( isset($HTTP_POST_VARS['search_terms']) )
|
||||
{
|
||||
|
@ -144,7 +145,8 @@ if ( $mode == 'searchuser' )
|
|||
else if ( $search_keywords != '' || $search_author != '' || $search_id )
|
||||
{
|
||||
$store_vars = array('search_results', 'total_match_count', 'split_search', 'sort_by', 'sort_dir', 'show_results', 'return_chars');
|
||||
|
||||
$search_results = '';
|
||||
|
||||
//
|
||||
// Search ID Limiter, decrease this value if you experience further timeout problems with searching forums
|
||||
$limiter = 5000;
|
||||
|
|
Loading…
Add table
Reference in a new issue