Overview
Comment: | Merge stable vers trunk |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
f8af42f2cf7f70adc03b8f4a04b0ef7c |
User & Date: | bohwaz on 2013-06-19 12:27:24 |
Other Links: | manifest | tags |
Context
2013-07-11
| ||
10:38 | Merge stable check-in: 32b28be4a7 user: bohwaz tags: trunk | |
2013-06-19
| ||
12:27 | Merge stable vers trunk check-in: f8af42f2cf user: bohwaz tags: trunk | |
12:26 | Release 0.5.5 check-in: ecdc3722a7 user: bohwaz tags: stable, 0.5.5 | |
2013-06-18
| ||
09:09 | Correction bug champs dont la valeur est vérifié même s'ils sont vides check-in: 7f9e78c6c5 user: bohwaz tags: stable | |
09:04 | Début gestion transactions check-in: 1b4f728d61 user: bohwaz tags: trunk | |
Changes
Modified VERSION from [8e59e49ea3] to [9c88ba14fc].
|
| | | 1 | 0.5.5 |
Modified include/class.membres.php from [894265f106] to [ff3b0c8181].
︙ | ︙ | |||
255 256 257 258 259 260 261 | { continue; } } if (isset($data[$key])) { | | | | | 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 | { continue; } } if (isset($data[$key])) { if ($config['type'] == 'email' && trim($data[$key]) != '' && !filter_var($data[$key], FILTER_VALIDATE_EMAIL)) { throw new UserException('Adresse e-mail invalide dans le champ "' . $config['title'] . '".'); } elseif ($config['type'] == 'url' && trim($data[$key]) != '' && !filter_var($data[$key], FILTER_VALIDATE_URL)) { throw new UserException('Adresse URL invalide dans le champ "' . $config['title'] . '".'); } elseif ($config['type'] == 'tel') { $data[$key] = utils::normalizePhoneNumber($data[$key]); } elseif ($config['type'] == 'country') { $data[$key] = strtoupper(substr($data[$key], 0, 2)); } elseif ($config['type'] == 'checkbox') { $data[$key] = empty($data[$key]) ? 0 : 1; } elseif ($config['type'] == 'number' && trim($data[$key]) != '') { if (empty($data[$key])) { $data[$key] = 0; } if (!is_numeric($data[$key])) |
︙ | ︙ | |||
312 313 314 315 316 317 318 | } $data[$key] = $binary; } } } | | | 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 | } $data[$key] = $binary; } } } if (isset($data['code_postal']) && trim($data['code_postal']) != '') { if (!empty($data['pays']) && $data['pays'] == 'FR' && !preg_match('!^\d{5}$!', $data['code_postal'])) { throw new UserException('Code postal invalide.'); } } |
︙ | ︙ |