fix aurel's bug
[platal.git] / templates / search / index.tpl
index 71f5c21..9f19adc 100644 (file)
@@ -34,7 +34,7 @@
     {if $search_results_nb==0}Aucune{else}{$search_results_nb}{/if} rĂ©ponse{if $search_results_nb>1}s{/if}.
   </h1>
 
-  {if $search_results_nb and $advanced and !$simple and $use_map}
+  {if $search_results_nb and $advanced and !$simple and $globals->geoloc->use_map}
   <p>
     [<a href='geoloc/?{$search_vars}'>Voir la recherche sur une carte</a>].
   </p>