From e2cd851d2f1707b70538b36f3d9684e7d078d26d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Gon=C3=A7alves?= Date: Mon, 6 Oct 2014 19:13:48 -0300 Subject: [PATCH] Missing "$config" argument The recursively clean arrays doesn't work with dynamic configurations --- src/Mews/Purifier/Purifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mews/Purifier/Purifier.php b/src/Mews/Purifier/Purifier.php index 7170676..bb41019 100755 --- a/src/Mews/Purifier/Purifier.php +++ b/src/Mews/Purifier/Purifier.php @@ -123,7 +123,7 @@ public static function clean($dirty, $config = null) foreach ($dirty as $key => $value) { // Recursively clean arrays - $clean[$key] = Purifier::clean($value); + $clean[$key] = Purifier::clean($value, $config); } } else