Overview
Comment: | Corrige installation des champs |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA1: |
14f1be0c3967dd997dc2c64c9ca949a6 |
User & Date: | bohwaz on 2018-02-21 07:48:07 |
Other Links: | manifest | tags |
References
2020-12-08
| ||
23:25 | • Wiki page "Changelog/0.9" artifact: b9c916b4d1 user: bohwaz | |
Context
2018-03-12
| ||
05:16 | Ajout de la config vhost en commentaire, cf. [571c5487217aaf65e27c4083f96a6f5b927b9392] check-in: 6539b98f9e user: bohwaz tags: trunk | |
2018-02-21
| ||
07:48 | Corrige installation des champs check-in: 14f1be0c39 user: bohwaz tags: trunk, stable | |
04:56 | Ne pas inclure les reports dans le rapprochement, signalé par @Alain check-in: c86a781f5e user: bohwaz tags: trunk, stable | |
Changes
Modified src/include/lib/Garradin/Membres/Champs.php from [c81852e57e] to [a1cbfdd70c].
︙ | |||
61 62 63 64 65 66 67 | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | - + - + - + | return Utils::write_ini_string($this->champs); } static public function importInstall() { $champs = parse_ini_file(\Garradin\ROOT . '/include/data/champs_membres.ini', true); $champs = array_filter($champs, function ($row) { return !empty($row['install']); }); |
︙ | |||
416 417 418 419 420 421 422 | 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 | - + - + - + - + - - + + + + + + | } /** * Modifie les champs en interne en vérifiant que tout va bien * @param array $champs Liste des champs * @return boolean true */ |
︙ | |||
478 479 480 481 482 483 484 | 482 483 484 485 486 487 488 489 490 491 492 493 494 495 | - - - - - - | if ($identifiant != 'id' && !array_key_exists($identifiant, $champs)) { throw new UserException('Le champ '.$config->get('champ_identifiant') .' est défini comme identifiant à la connexion et ne peut donc être supprimé des fiches membres.'); } |
︙ |