Fix 8183 - adherent welcome e-mail

Fix the adherent welcome e-mail.

[see: #8183]
This commit is contained in:
De Coninck Laurent 2018-02-12 18:12:43 +01:00
parent 39cd63e2d4
commit 1052213c97

View File

@ -96,7 +96,7 @@ if ($action == 'add' && $user->rights->adherent->configurer)
$object->label = trim($label);
$object->subscription = (int) trim($subscription);
$object->note = trim($comment);
$object->mail_valid = (boolean) trim($mail_valid);
$object->mail_valid = $db->escape(trim($mail_valid));
$object->vote = (boolean) trim($vote);
// Fill array 'array_options' with data from add form
@ -134,7 +134,7 @@ if ($action == 'update' && $user->rights->adherent->configurer)
$object->label = trim($label);
$object->subscription = (int) trim($subscription);
$object->note = trim($comment);
$object->mail_valid = (boolean) trim($mail_valid);
$object->mail_valid = $db->escape(trim($mail_valid));
$object->vote = (boolean) trim($vote);
// Fill array 'array_options' with data from add form