1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-29 02:40:25 +02:00

Bugtracker #4005 - add quotes in advanced search

This commit is contained in:
e107steved
2007-07-03 19:25:49 +00:00
parent 95b5ff3f2c
commit af5f778747

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/search.php,v $ | $Source: /cvs_backup/e107_0.8/search.php,v $
| $Revision: 1.6 $ | $Revision: 1.7 $
| $Date: 2007-05-18 21:14:52 $ | $Date: 2007-07-03 19:25:49 $
| $Author: e107steved $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -345,7 +345,7 @@ $SEARCH_TYPE_SEL = "<input type='radio' name='adv' value='0' ".($_GET['adv'] ? "
foreach ($search_info as $key => $value) { foreach ($search_info as $key => $value) {
if (!isset($search_info[$key]['advanced'])) { if (!isset($search_info[$key]['advanced'])) {
$js_adv .= " && abid != ".$key; $js_adv .= " && abid != '".$key."'";
} }
} }
@@ -356,7 +356,7 @@ if (isset($search_info[$_GET['t']]['advanced'])) {
} }
if (check_class($search_prefs['google'])) { if (check_class($search_prefs['google'])) {
$js_adv .= " && abid != ".$google_id; $js_adv .= " && abid != '".$google_id."'";
} }
if ($perform_search) { if ($perform_search) {