Overview
Comment: | Ne pas vérifier l'email si vide |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA1: |
9031386c2177c43b56a82e070bb71a30 |
User & Date: | bohwaz on 2018-11-28 16:26:51 |
Other Links: | manifest | tags |
Context
2018-11-28
| ||
16:36 | Corrige élément sélectionné dans les champs membres de type <select> check-in: 22ea488591 user: bohwaz tags: trunk, stable | |
16:26 | Ne pas vérifier l'email si vide check-in: 9031386c21 user: bohwaz tags: trunk, stable | |
2018-11-26
| ||
23:38 | Fix: recherche avancée de champ valeur multiple check-in: 05bc8a812e user: bohwaz tags: trunk, stable | |
Changes
Modified src/include/lib/Garradin/Membres.php from [5ec0e09a48] to [747eeb941f].
︙ | ︙ | |||
94 95 96 97 98 99 100 | $data[$key] = 0; } } elseif ($config->type == 'email') { $data[$key] = strtolower($data[$key]); | | | 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | $data[$key] = 0; } } elseif ($config->type == 'email') { $data[$key] = strtolower($data[$key]); if (trim($data[$key]) !== '' && !SMTP::checkEmailIsValid($data[$key], false)) { throw new UserException(sprintf('Adresse email invalide "%s" pour le champ "%s".', $data[$key], $config->title)); } } elseif ($config->type == 'select' && !in_array($data[$key], $config->options)) { throw new UserException('Le champ "' . $config->title . '" ne correspond pas à un des choix proposés.'); |
︙ | ︙ |