diff --git a/dblayeroo.php b/dblayeroo.php index 4ec3370..1c821eb 100644 --- a/dblayeroo.php +++ b/dblayeroo.php @@ -2913,6 +2913,7 @@ class dblayeroo /* }}} */ /** Check the values before doing really the modification of the database + * @param array $values The values to test * @param boolean|null $update if true UPDATE request, else INSERT request */ public function checkValues ($values, $update = false) @@ -2924,6 +2925,7 @@ class dblayeroo $this->DBException ("checkValues fields : ". "values provided are not an array", 406); } + $values = $this->normalize ($values); $update = !! $update; $errors = array_merge ($this->checkRealTypes ($values, $update), $this->verify ($values, $update));