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:
@@ -2632,7 +2632,7 @@ class dblayeroo
|
||||
$this->DBException ("Invalid values to normalize : not an array", 406);
|
||||
foreach ($values as $key => $val)
|
||||
{
|
||||
if ($val !== null)
|
||||
if ($val !== null && ! is_array ($val))
|
||||
$values[$key] = trim ($val);
|
||||
}
|
||||
return $values;
|
||||
|
||||
Reference in New Issue
Block a user