Overview
Comment:Message d'erreur plus clair
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 4e264219a55fef326332c65e4b01863b78258d7f
User & Date: bohwaz on 2014-01-08 17:28:49
Other Links: manifest | tags
Context
2014-01-08
18:45
Mise à jour design site par défaut check-in: f95b0d3086 user: bohwaz tags: trunk
17:28
Message d'erreur plus clair check-in: 4e264219a5 user: bohwaz tags: trunk
17:28
Ne pas montrer les comptes désactivés check-in: b827ebda60 user: bohwaz tags: trunk
Changes

Modified src/include/class.db.php from [005fc59201] to [b671e9bb0e].

159
160
161
162
163
164
165
166

167
168
169
170
171
172
173
159
160
161
162
163
164
165

166
167
168
169
170
171
172
173







-
+







            if (is_array($args) && count($args) == 1 && is_array(current($args)))
            {
                $args = current($args);
            }
            
            if (count($args) != $nb)
            {
                throw new \LengthException('Only '.count($args).' arguments, but '.$nb.' are required by query.');
                throw new \LengthException('Arguments error: '.count($args).' supplied, but '.$nb.' are required by query.');
            }

            reset($args);

            if (is_int(key($args)))
            {
                foreach ($args as $i=>$arg)