Overview
Comment:correction évaluation entrée
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 464b2f5d24f555643e73a300fbaad85da062e7d0
User & Date: bohwaz on 2013-10-01 02:22:57
Other Links: manifest | tags
References
2013-10-01
02:26
Merge [464b2f5d24] correction évaluation entrée check-in: dfb7954c91 user: bohwaz tags: stable, 0.5.9
Context
2013-11-18
16:22
Correction schéma : les comptes ne sont pas des INT mais des TEXT (mais sqlite s'en fout, c'est juste pour rester logique) check-in: 19b35014ae user: bohwaz tags: trunk
2013-10-01
02:26
Merge [464b2f5d24] correction évaluation entrée check-in: dfb7954c91 user: bohwaz tags: stable, 0.5.9
02:22
correction évaluation entrée check-in: 464b2f5d24 user: bohwaz tags: trunk
2013-09-30
18:03
Empêcher de faire un opération avec compte débit = compte crédit check-in: d57ea72ca3 user: bohwaz tags: trunk
Changes

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

152
153
154
155
156
157
158
159

160
161

162
163
164
165
166
167
168
152
153
154
155
156
157
158

159
160

161
162
163
164
165
166
167
168







-
+

-
+







    public function simpleStatement($query, $args = array())
    {
        $statement = $this->prepare($query);
        $nb = $statement->paramCount();

        if (!empty($args))
        {
            if (count($args) == 1 && is_array($args[0]))
            if (is_array($args) && count($args) == 1 && is_array(current($args)))
            {
                $args = $args[0];
                $args = current($args);
            }
            
            if (count($args) != $nb)
            {
                throw new \LengthException('Only '.count($args).' arguments, but '.$nb.' are required by query.');
            }