From 97a8e659db2d6ba12a3bd24174bc2c72419714af Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Thu, 25 Oct 2018 18:16:57 +0000 Subject: [PATCH] dblayeroo : Call normalize on checkValues too git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4637 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- dblayeroo.php | 2 ++ 1 file changed, 2 insertions(+) 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));