From: x2001corpet Date: Sat, 4 Nov 2006 09:44:21 +0000 (+0000) Subject: backport : bug geoloc pour afficher toutes les adresses X-Git-Tag: xorg/0.9.12~148 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=05fec495ac20b49b173eaba3706e1bc14b0f3d88;p=platal.git backport : bug geoloc pour afficher toutes les adresses git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1045 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/modules/geoloc.php b/modules/geoloc.php index f1a5b31..5c0be63 100644 --- a/modules/geoloc.php +++ b/modules/geoloc.php @@ -78,7 +78,7 @@ class GeolocModule extends PLModule $page->changeTpl('geoloc/index.tpl'); $fields = new SFieldGroup(true, advancedSearchFromInput()); $search = str_replace('&','&',$fields->get_url()); - if ((!Env::has('only_current') && !Env::has('rechercher')) || Env::i('only_current') == 'on') + if ((!Env::has('only_current') && !Env::has('rechercher')) || Env::v('only_current') == 'on') $search .= '&only_current=on'; elseif (Env::i('only_current') != 'on') $search .= '&only_current=';