Browse Source

Update type.php

Laurent Destailleur 7 years ago
parent
commit
d0fdf700d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/adherents/type.php

+ 1 - 1
htdocs/adherents/type.php

@@ -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     = $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