mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02: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:
@@ -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 ...
|
||||
|
Reference in New Issue
Block a user