Skip to content

Commit

Permalink
Merge pull request #8184 from laudeco/hotfix/8183_welcome_email_adherent
Browse files Browse the repository at this point in the history
Fix 8183 - adherent welcome e-mail edition always put 1 instead of keeping the e-mail
  • Loading branch information
eldy committed Feb 14, 2018
2 parents 27c5563 + d0fdf70 commit c28d872
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/adherents/type.php
Expand Up @@ -96,7 +96,7 @@
$object->label = trim($label);
$object->subscription = (int) trim($subscription);
$object->note = trim($comment);
$object->mail_valid = (boolean) trim($mail_valid);
$object->mail_valid = trim($mail_valid);
$object->vote = (boolean) trim($vote);

// Fill array 'array_options' with data from add form
Expand Down Expand Up @@ -134,7 +134,7 @@
$object->label = trim($label);
$object->subscription = (int) trim($subscription);
$object->note = trim($comment);
$object->mail_valid = (boolean) trim($mail_valid);
$object->mail_valid = trim($mail_valid);
$object->vote = (boolean) trim($vote);

// Fill array 'array_options' with data from add form
Expand Down

0 comments on commit c28d872

Please sign in to comment.