mirror of
https://github.com/e107inc/e107.git
synced 2025-04-14 17:42:10 +02:00
Bugtracker #4005 - add quotes in advanced search
This commit is contained in:
parent
95b5ff3f2c
commit
af5f778747
@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/search.php,v $
|
||||
| $Revision: 1.6 $
|
||||
| $Date: 2007-05-18 21:14:52 $
|
||||
| $Revision: 1.7 $
|
||||
| $Date: 2007-07-03 19:25:49 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@ -345,7 +345,7 @@ $SEARCH_TYPE_SEL = "<input type='radio' name='adv' value='0' ".($_GET['adv'] ? "
|
||||
|
||||
foreach ($search_info as $key => $value) {
|
||||
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'])) {
|
||||
$js_adv .= " && abid != ".$google_id;
|
||||
$js_adv .= " && abid != '".$google_id."'";
|
||||
}
|
||||
|
||||
if ($perform_search) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user