Overview
SHA1:467a686036c9c6a00f7d729da888ec40731a5e4b
Date: 2017-11-01 21:16:28
User: bohwaz
Comment:Le champ passe disparaissait dans certains cas
Timelines: family | ancestors | descendants | both | trunk | stable
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2017-11-01
21:29
[91a4284ea1] Parfois une page wiki n'a pas de contenu (user: bohwaz, tags: trunk, stable)
21:16
[467a686036] Le champ passe disparaissait dans certains cas (user: bohwaz, tags: trunk, stable)
21:03
[fd5dc17ef5] Correction report à nouveau automatique (user: bohwaz, tags: trunk, stable)
Changes

Modified src/include/lib/Garradin/Membres/Champs.php from [60668b0d28] to [0bbc3fc421].

89
90
91
92
93
94
95





96
97
98
99
100
101
102
		{
			$this->champs = $champs->getAll();
		}
        elseif (is_array($champs))
        {
            $presets = self::importPresets();
            $this->champs = new \stdClass;






            foreach ($champs as $key=>&$config)
            {
                if (is_array($config))
                {
                    $config = (object) $config;
                }







>
>
>
>
>







89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
		{
			$this->champs = $champs->getAll();
		}
        elseif (is_array($champs))
        {
            $presets = self::importPresets();
            $this->champs = new \stdClass;

            if (!isset($champs['passe']))
            {
                $champs['passe'] = ['type' => 'password'];
            }

            foreach ($champs as $key=>&$config)
            {
                if (is_array($config))
                {
                    $config = (object) $config;
                }