cancel quotes in search string

This commit is contained in:
Miles Lott 2002-05-07 12:54:12 +00:00
parent e73a5b57fc
commit 08d18591cd

View File

@ -119,8 +119,11 @@
$whereclause = ''; $whereclause = '';
} }
if ($query) if($query)
{ {
$query = ereg_replace("'",'',$query);
$query = ereg_replace('"','',$query);
if ($whereclause) if ($whereclause)
{ {
$whereclause .= ' AND ( '; $whereclause .= ' AND ( ';