Fix: Syntax error

This commit is contained in:
Laurent Destailleur 2014-01-21 15:27:32 +01:00
parent 0a372a1c7d
commit 8cdd0502b7

View File

@ -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)