Finishes to move functions from geoloc.inc.php to geocoding.inc.php,
[platal.git] / plugins / function.display_address.php
index 47af0b0..7114a2b 100644 (file)
@@ -39,7 +39,7 @@ function display_address_isIdentity($idt, $value, $test_reverse = true)
 function smarty_function_display_address($param, &$smarty)
 {
     require_once('geoloc.inc.php');
-    $txtad = get_address_text($param['adr']);
+    $txtad = $param['adr']['text'];
     if (!$txtad && !$param['adr']['tels'] && !count($param['adr']['tels'])) {
         return "";
     }