Overview
SHA1 Hash:f56cf26db4035fd66c25d416214170513512de7f
Date: 2012-03-11 23:53:02
User: bohwaz
Comment:Fix [27ccb4671d] (Impossible de ne rendre aucun champ obligatoire)
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2012-03-11
23:58
[1484069bbe] Fixed [877f4fc1e7] (liste des adhérents avec un nom accentué) (user: bohwaz, tags: trunk)
23:53
[f56cf26db4] Fix [27ccb4671d] (Impossible de ne rendre aucun champ obligatoire) (user: bohwaz, tags: trunk)
2012-02-29
21:36
[d37e4a1677] Affichage du numéro d'adhérent dans la liste des adhérents (user: bohwaz, tags: trunk)
Changes

Modified include/class.config.php from [ca19123e8d] to [03055f7739].

122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
        if (!array_key_exists($key, $this->fields_types))
        {
            throw new OutOfBoundsException('Ce champ est inconnu.');
        }

        if (is_array($this->fields_types[$key]))
        {
            $value = (array) $value;
        }
        elseif (is_int($this->fields_types[$key]))
        {
            $value = (int) $value;
        }
        elseif (is_float($this->fields_types[$key]))
        {







|







122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
        if (!array_key_exists($key, $this->fields_types))
        {
            throw new OutOfBoundsException('Ce champ est inconnu.');
        }

        if (is_array($this->fields_types[$key]))
        {
            $value = !empty($value) ? (array) $value : array();
        }
        elseif (is_int($this->fields_types[$key]))
        {
            $value = (int) $value;
        }
        elseif (is_float($this->fields_types[$key]))
        {