From: x2001corpet Date: Fri, 3 Nov 2006 00:07:32 +0000 (+0000) Subject: bug pour afficher toutes les adresses sur la carte X-Git-Tag: xorg/0.9.11~4 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=07fc15a545569b4430ecc76e56bd8c933749f7ce;p=platal.git bug pour afficher toutes les adresses sur la carte git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.11@1043 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/modules/geoloc.php b/modules/geoloc.php index 2abe8a7..a6349f8 100644 --- a/modules/geoloc.php +++ b/modules/geoloc.php @@ -77,7 +77,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=';