From c0c2be8a4029352ca37bc88d3da2ad901de02660 Mon Sep 17 00:00:00 2001 From: e107steved Date: Sat, 26 Jan 2008 17:55:52 +0000 Subject: [PATCH] Bugtracker #4304 - Roll back custom page search - change didn't work. Needs further thought on how to block searching of menus --- e107_handlers/search/search_pages.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_handlers/search/search_pages.php b/e107_handlers/search/search_pages.php index 9996047f6..1ffafe2be 100644 --- a/e107_handlers/search/search_pages.php +++ b/e107_handlers/search/search_pages.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_handlers/search/search_pages.php,v $ -| $Revision: 1.2 $ -| $Date: 2007-11-04 20:41:41 $ +| $Revision: 1.3 $ +| $Date: 2008-01-26 17:55:52 $ | $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -31,7 +31,7 @@ $search_fields = array('page_title', 'page_text'); $weights = array('1.2', '0.6'); $no_results = LAN_198; -$where = "page_class IN (".USERCLASS_LIST.") AND `menu_name`='' AND".$advanced_where; +$where = "page_class IN (".USERCLASS_LIST.") AND".$advanced_where; $order = array('page_datestamp' => DESC); $table = "page";