mirror of
https://github.com/e107inc/e107.git
synced 2025-07-26 09:20:28 +02:00
Bugtracker #4005 - add quotes in advanced search
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user