Ajout propriété fullname sur objet adhérent
This commit is contained in:
parent
378b6fd3a0
commit
8c86d1529a
@ -488,6 +488,7 @@ class Adherent
|
|||||||
$this->date = $obj->datedon;
|
$this->date = $obj->datedon;
|
||||||
$this->prenom = stripslashes($obj->prenom);
|
$this->prenom = stripslashes($obj->prenom);
|
||||||
$this->nom = stripslashes($obj->nom);
|
$this->nom = stripslashes($obj->nom);
|
||||||
|
$this->fullname = $obj->nom.($obj->nom&&$obj->prenom?' ':'').$obj->prenom;
|
||||||
$this->societe = stripslashes($obj->societe);
|
$this->societe = stripslashes($obj->societe);
|
||||||
$this->adresse = stripslashes($obj->adresse);
|
$this->adresse = stripslashes($obj->adresse);
|
||||||
$this->cp = stripslashes($obj->cp);
|
$this->cp = stripslashes($obj->cp);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user