mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
3b80f5a866
commit
ff122743b8
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue