issue #0001776 : Redraw display of address

This commit is contained in:
Michael RICOIS 2014-02-04 11:31:47 +00:00
parent 46c258f30c
commit 3e6695a4c9

View File

@ -666,11 +666,11 @@ class RechercheController extends Zend_Controller_Action
$item['InfoEtab'] = $infoEtab;
$adresse = $etab->Adresse;
if (isset($etab->Adresse2) && $etab->Adresse2 != '') {
if ( !empty($etab->Adresse2) ) {
$adresse.= '<br/>'.$etab->Adresse2;
}
if ( !empty($etab->Ville) && intval($etab->CP) > 0) {
$adresse.= '<br/><b>'.$etab->CP." ".$adresse.= $etab->Ville."</b>";
$adresse.= '<br/><b>'.$etab->CP." ".$etab->Ville."</b>";
}
if (null !== $etab->Pays) {
$adresse.= '<br/><b>'.$etab->Pays.'</b>';