Overview
SHA1:e9e9dfdedcbab8a960e78da0972f9c06d7af86ee
Date: 2013-05-16 05:16:20
User: bohwaz
Comment:Correction bug
Timelines: family | ancestors | descendants | both | stable | 0.5.3
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2013-05-16
05:21
[79c68368a6] Merge correction 0.5.3 (user: bohwaz, tags: trunk)
05:20
[e4ec6e439b] Release 0.5.3 (user: bohwaz, tags: stable, 0.5.3)
05:16
[e9e9dfdedc] Correction bug (user: bohwaz, tags: stable, 0.5.3)
2013-04-08
14:29
[e62c8e438f] Publication de correction de 2 bugs (user: bohwaz, tags: trunk, stable, 0.5.2)
Changes

Modified www/admin/membres/ajouter.php from [75729f89f3] to [29152d95e3].

34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
            else
            {
                $id_categorie = $config->get('categorie_membres');
            }

            $data = array('id_categorie' => $id_categorie);

            foreach ($champs->getAll() as $key=>$config)
            {
                $data[$key] = utils::post($key);
            }

            $id = $membres->add($data, ($user['droits']['membres'] == Membres::DROIT_ADMIN) ? false : true);

            utils::redirect('/admin/membres/fiche.php?id='.(int)$id);







|







34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
            else
            {
                $id_categorie = $config->get('categorie_membres');
            }

            $data = array('id_categorie' => $id_categorie);

            foreach ($champs->getAll() as $key=>$dismiss)
            {
                $data[$key] = utils::post($key);
            }

            $id = $membres->add($data, ($user['droits']['membres'] == Membres::DROIT_ADMIN) ? false : true);

            utils::redirect('/admin/membres/fiche.php?id='.(int)$id);