Overview
Comment: | Fix make sure that $config is actually the config |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA1: |
a3fa18af6f174cbdaaeb41712cf1074e |
User & Date: | bohwaz on 2020-12-07 21:33:22 |
Other Links: | manifest | tags |
Context
2020-12-07
| ||
22:46 | Add script to re-create old categories as projects check-in: 68f063e7fd user: bohwaz tags: trunk | |
21:33 | Fix make sure that $config is actually the config check-in: a3fa18af6f user: bohwaz tags: trunk, stable | |
20:06 | New release check-in: 6e2fd5e0ac user: bohwaz tags: trunk, stable, 1.0.0-rc9 | |
Changes
Modified src/www/admin/membres/modifier.php from [6fe3b3ffab] to [a765c3047e].
︙ | ︙ | |||
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | catch (UserException $e) { $form->addError($e->getMessage()); } } } $tpl->assign('id_field_name', $config->get('champ_identifiant')); $tpl->assign('passphrase', Utils::suggestPassword()); $tpl->assign('champs', $champs->getAll()); $tpl->assign('membres_cats', $cats->listSimple()); $tpl->assign('current_cat', f('id_categorie') ?: $membre->id_categorie); $tpl->assign('can_change_id', $session->canAccess('membres', Membres::DROIT_ADMIN)); $tpl->assign('membre', $membre); $tpl->display('admin/membres/modifier.tpl'); | > | 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | catch (UserException $e) { $form->addError($e->getMessage()); } } } $config = Config::getInstance(); $tpl->assign('id_field_name', $config->get('champ_identifiant')); $tpl->assign('passphrase', Utils::suggestPassword()); $tpl->assign('champs', $champs->getAll()); $tpl->assign('membres_cats', $cats->listSimple()); $tpl->assign('current_cat', f('id_categorie') ?: $membre->id_categorie); $tpl->assign('can_change_id', $session->canAccess('membres', Membres::DROIT_ADMIN)); $tpl->assign('membre', $membre); $tpl->display('admin/membres/modifier.tpl'); |