Fix: Syntax error
This commit is contained in:
parent
0a372a1c7d
commit
8cdd0502b7
@ -583,7 +583,7 @@ if ($user->rights->adherent->creer && $action == 'confirm_valid' && $confirm ==
|
||||
if ($result >= 0 && ! count($object->errors))
|
||||
{
|
||||
// Send confirmation Email (selon param du type adherent sinon generique)
|
||||
if ($object->email && GEPOST("send_mail"))
|
||||
if ($object->email && GETPOST("send_mail"))
|
||||
{
|
||||
$result=$object->send_an_email($adht->getMailOnValid(),$conf->global->ADHERENT_MAIL_VALID_SUBJECT,array(),array(),array(),"","",0,2);
|
||||
if ($result < 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user