From ff122743b810f4bb6d91f6aae63869345bb5dbed Mon Sep 17 00:00:00 2001 From: dho Date: Tue, 5 Jun 2007 11:39:48 +0000 Subject: [PATCH] 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 --- cake/libs/sanitize.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/sanitize.php b/cake/libs/sanitize.php index 122124fe0..7e81833ee 100644 --- a/cake/libs/sanitize.php +++ b/cake/libs/sanitize.php @@ -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 {