diff --git a/htdocs/societe/agenda.php b/htdocs/societe/agenda.php index bedc9d1e301dba77251da6a5ba3262c5a2fa2f5f..cdf0b7236d63eae3c01482ca18aa957771a540b2 100644 --- a/htdocs/societe/agenda.php +++ b/htdocs/societe/agenda.php @@ -112,7 +112,7 @@ if ($_GET["socid"]) print '<tr><td>'.$langs->trans('Gencod').'</td><td colspan="3">'.$soc->gencod.'</td></tr>'; } - print "<tr><td valign=\"top\">".$langs->trans('Address')."</td><td colspan=\"3\">".nl2br($soc->address)."</td></tr>"; + print "<tr><td valign=\"top\">".$langs->trans('Address')."</td><td colspan=\"3\">".dol_print_address($soc->address, 'gmap', 'thirdparty', $soc->id)."</td></tr>"; // Zip / Town print '<tr><td width="25%">'.$langs->trans('Zip').'</td><td width="25%">'.$soc->cp."</td>";