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 "";
}