From 30961523ef528779871825698b109ca422237bef Mon Sep 17 00:00:00 2001 From: Marcus Bointon Date: Tue, 16 Jul 2013 13:56:14 +0200 Subject: [PATCH] Fix var name conflict in loadArray --- library/HTMLPurifier/Config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/HTMLPurifier/Config.php b/library/HTMLPurifier/Config.php index 489ea046..e1790672 100644 --- a/library/HTMLPurifier/Config.php +++ b/library/HTMLPurifier/Config.php @@ -532,8 +532,8 @@ class HTMLPurifier_Config } else { $namespace = $key; $namespace_values = $value; - foreach ($namespace_values as $directive => $value) { - $this->set($namespace .'.'. $directive, $value); + foreach ($namespace_values as $directive => $value2) { + $this->set($namespace .'.'. $directive, $value2); } } }