diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php index c70a247f502..979c1624a62 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -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)