Update type.php

This commit is contained in:
Laurent Destailleur 2018-02-14 20:51:05 +01:00 committed by GitHub
parent 1052213c97
commit 0d00c51c2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 = $db->escape(trim($mail_valid));
$object->mail_valid = trim($mail_valid);
$object->vote = (boolean) trim($vote);
// Fill array 'array_options' with data from add form