fix for bug [ 1370943 ] Nextmatches->search doesn't set the value

This commit is contained in:
Ralf Becker 2006-03-08 18:10:36 +00:00
parent dc48662fc8
commit a5a87c4fe8

View File

@ -389,9 +389,8 @@
{
if(is_array($search_obj))
{
$params = $search_obj;
$s_query = stripslashes($params['query']);
$search_obj = $params['search_obj'];
$_query = stripslashes($search_obj['query']);
$search_obj = $search_obj['search_obj'];
}
else
{
@ -400,7 +399,7 @@
// If they place a '"' in their search, it will mess everything up
// Our only option is to remove it
if(strstr($query,'"'))
if(strstr($_query,'"'))
{
$_query = str_replace('"','',$_query);
}