Using $connection param when cleaning arrays (ticket #2712)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5245 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
dho 2007-06-05 11:39:48 +00:00
parent 3b80f5a866
commit ff122743b8

View file

@ -175,7 +175,7 @@ class Sanitize{
if (is_array($data)) {
foreach ($data as $key => $val) {
$data[$key] = Sanitize::clean($val);
$data[$key] = Sanitize::clean($val, $connection);
}
return $data;
} else {