mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
search_id change broke various other search options, fixed
git-svn-id: file:///svn/phpbb/trunk@2452 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
cfb5acec81
commit
c191a04a9d
1 changed files with 17 additions and 14 deletions
|
@ -66,7 +66,7 @@ else
|
|||
$search_author = '';
|
||||
}
|
||||
|
||||
$search_id = ( isset($HTTP_GET_VARS['search_id']) ) ? intval($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';
|
||||
|
||||
|
@ -591,6 +591,8 @@ else if ( $search_keywords != '' || $search_author != '' || $search_id )
|
|||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( is_int($search_id) )
|
||||
{
|
||||
$sql = "SELECT search_array
|
||||
FROM " . SEARCH_TABLE . "
|
||||
|
@ -610,6 +612,7 @@ else if ( $search_keywords != '' || $search_author != '' || $search_id )
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Look up data ...
|
||||
|
|
Loading…
Add table
Reference in a new issue