From f62172949c12a86f9b39382813c0fd9f09597bc6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 14 Jun 2011 21:18:35 +0000 Subject: [PATCH] Use dol_printaddress function --- htdocs/societe/agenda.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/agenda.php b/htdocs/societe/agenda.php index bedc9d1e301..cdf0b7236d6 100644 --- a/htdocs/societe/agenda.php +++ b/htdocs/societe/agenda.php @@ -112,7 +112,7 @@ if ($_GET["socid"]) print ''.$langs->trans('Gencod').''.$soc->gencod.''; } - print "".$langs->trans('Address')."".nl2br($soc->address).""; + print "".$langs->trans('Address')."".dol_print_address($soc->address, 'gmap', 'thirdparty', $soc->id).""; // Zip / Town print ''.$langs->trans('Zip').''.$soc->cp."";