Merge branch '7.0' of git@github.com:Dolibarr/dolibarr.git into 8.0
Conflicts: htdocs/adherents/subscription.php
This commit is contained in:
commit
698222c769
@ -219,6 +219,8 @@ class Adherent extends CommonObject
|
|||||||
|
|
||||||
// Substitutions
|
// Substitutions
|
||||||
$substitutionarray=array(
|
$substitutionarray=array(
|
||||||
|
'__ID__'=>$this->id,
|
||||||
|
'__MEMBER_ID__'=>$this->id,
|
||||||
'__CIVILITY__'=>$this->getCivilityLabel(),
|
'__CIVILITY__'=>$this->getCivilityLabel(),
|
||||||
'__FIRSTNAME__'=>$msgishtml?dol_htmlentitiesbr($this->firstname):$this->firstname,
|
'__FIRSTNAME__'=>$msgishtml?dol_htmlentitiesbr($this->firstname):$this->firstname,
|
||||||
'__LASTNAME__'=>$msgishtml?dol_htmlentitiesbr($this->lastname):$this->lastname,
|
'__LASTNAME__'=>$msgishtml?dol_htmlentitiesbr($this->lastname):$this->lastname,
|
||||||
|
|||||||
@ -347,7 +347,7 @@ if ($user->rights->adherent->cotisation->creer && $action == 'subscription' && !
|
|||||||
if (! $error)
|
if (! $error)
|
||||||
{
|
{
|
||||||
// Send confirmation Email
|
// Send confirmation Email
|
||||||
if ($object->email && $sendalsoemail)
|
if ($object->email && $sendalsoemail) // $object is 'Adherent'
|
||||||
{
|
{
|
||||||
$subject = '';
|
$subject = '';
|
||||||
$msg= '';
|
$msg= '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user