Fix 8183 - adherent welcome e-mail
Fix the adherent welcome e-mail. [see: #8183]
This commit is contained in:
parent
39cd63e2d4
commit
1052213c97
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user