RNVP : Correction obtention CP, issue #0002113

This commit is contained in:
Michael RICOIS 2015-07-01 09:52:03 +00:00
parent 9d9967a194
commit d36d1bf3fd

View File

@ -94,7 +94,7 @@ class Scores_Session_Entreprise
if ( $this->get('Adresse2') != '' ) { if ( $this->get('Adresse2') != '' ) {
$adresse.= ' '.$this->get('Adresse2'); $adresse.= ' '.$this->get('Adresse2');
} }
if ( intval($this->identite->CP) != 0 ) { if ( $this->get('CP') != '' ) {
$adresse.= ' '.$this->get('CP'); $adresse.= ' '.$this->get('CP');
} }
$adresse.= ' '.$this->get('Ville'); $adresse.= ' '.$this->get('Ville');