forked from Wavyzz/dolibarr
Fix: add member ID in substitution method
This commit is contained in:
@@ -184,6 +184,7 @@ class Adherent extends CommonObject
|
||||
|
||||
$infos='';
|
||||
if ($this->civilite_id) $infos.= $langs->transnoentities("UserTitle").": ".$this->getCivilityLabel(1)."\n";
|
||||
$infos.= $langs->transnoentities("id").": ".$this->id."\n";
|
||||
$infos.= $langs->transnoentities("Lastname").": ".$this->nom."\n";
|
||||
$infos.= $langs->transnoentities("Firstname").": ".$this->prenom."\n";
|
||||
$infos.= $langs->transnoentities("Company").": ".$this->societe."\n";
|
||||
@@ -201,6 +202,7 @@ class Adherent extends CommonObject
|
||||
// Substitutions
|
||||
$substitutionarray=array(
|
||||
'%DOL_MAIN_URL_ROOT%'=>DOL_MAIN_URL_ROOT,
|
||||
'%ID%'=>$msgishtml?dol_htmlentitiesbr($this->id):$this->id,
|
||||
'%INFOS%'=>$msgishtml?dol_htmlentitiesbr($infos):$infos,
|
||||
'%CIVILITE%'=>$this->getCivilityLabel($msgishtml?0:1),
|
||||
'%PRENOM%'=>$msgishtml?dol_htmlentitiesbr($this->prenom):$this->prenom,
|
||||
|
||||
Reference in New Issue
Block a user