Compatibility PHP 5.3
This commit is contained in:
parent
c9283be530
commit
9fc9b4a1f5
@ -91,14 +91,14 @@ class Scores_Session_Entreprise
|
|||||||
{
|
{
|
||||||
$adresse = $this->get('Adresse');
|
$adresse = $this->get('Adresse');
|
||||||
|
|
||||||
if (!empty($this->get('Adresse2'))) {
|
if ( $this->get('Adresse2') != '' ) {
|
||||||
$adresse.= ' '.$this->get('Adresse2');
|
$adresse.= ' '.$this->get('Adresse2');
|
||||||
}
|
}
|
||||||
if (intval($this->identite->CP)!=0) {
|
if ( intval($this->identite->CP) != 0 ) {
|
||||||
$adresse.= ' '.$this->get('CP');
|
$adresse.= ' '.$this->get('CP');
|
||||||
}
|
}
|
||||||
$adresse.= ' '.$this->get('Ville');
|
$adresse.= ' '.$this->get('Ville');
|
||||||
if ($this->get('Pays')!='' && strtoupper(substr($this->get('Pays'),0,3))!='FRA') {
|
if ( $this->get('Pays') != '' && strtoupper(substr($this->get('Pays'),0,3)) != 'FRA') {
|
||||||
$adresse.= ', '.$this->get('Pays');
|
$adresse.= ', '.$this->get('Pays');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user