From: Florent Bruneau Date: Wed, 10 Oct 2007 18:50:13 +0000 (+0200) Subject: No geoloc on advanced search. This leads to DOS on MySQL. X-Git-Tag: xorg/0.9.15~41 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=8ddd48c31ce151144118292e20fcdaa10ded9738;p=platal.git No geoloc on advanced search. This leads to DOS on MySQL. Signed-off-by: Florent Bruneau --- diff --git a/modules/search.php b/modules/search.php index 4e6e93f..f58c7e1 100644 --- a/modules/search.php +++ b/modules/search.php @@ -195,7 +195,7 @@ class SearchModule extends PLModule $view = new SearchSet(false, $action == 'geoloc' && substr($subaction, -3) == 'swf'); $view->addMod('minifiche', 'Minifiches', true); $view->addMod('trombi', 'Trombinoscope', false, array('with_promo' => true)); - $view->addMod('geoloc', 'Planisphère', false, array('with_annu' => 'search/adv')); + //$view->addMod('geoloc', 'Planisphère', false, array('with_annu' => 'search/adv')); $view->apply('search/adv', $page, $action, $subaction); if ($subaction) {