dblayeroo : do not normalize the arrays !

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4822 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2019-01-08 08:33:54 +00:00
parent a3177209b6
commit 611ca72708

View File

@@ -2632,7 +2632,7 @@ class dblayeroo
$this->DBException ("Invalid values to normalize : not an array", 406); $this->DBException ("Invalid values to normalize : not an array", 406);
foreach ($values as $key => $val) foreach ($values as $key => $val)
{ {
if ($val !== null) if ($val !== null && ! is_array ($val))
$values[$key] = trim ($val); $values[$key] = trim ($val);
} }
return $values; return $values;