mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08: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'] : '';
|
$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 = ( 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']) )
|
if ( isset($HTTP_POST_VARS['search_terms']) )
|
||||||
{
|
{
|
||||||
|
@ -144,6 +145,7 @@ if ( $mode == 'searchuser' )
|
||||||
else if ( $search_keywords != '' || $search_author != '' || $search_id )
|
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');
|
$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
|
// Search ID Limiter, decrease this value if you experience further timeout problems with searching forums
|
||||||
|
|
Loading…
Add table
Reference in a new issue