Merge commit 'origin/fusionax' into account
[platal.git] / plugins / function.display_address.php
index 47af0b0..5d40737 100644 (file)
@@ -38,8 +38,8 @@ 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']);
+    require_once('geocoding.inc.php');
+    $txtad = $param['adr']['text'];
     if (!$txtad && !$param['adr']['tels'] && !count($param['adr']['tels'])) {
         return "";
     }