0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-23 00:41:52 +00:00

Fix var name conflict in loadArray

This commit is contained in:
Marcus Bointon 2013-07-16 13:56:14 +02:00 committed by Edward Z. Yang
parent 29a3c70370
commit 107b3055a1

View File

@ -657,8 +657,8 @@ class HTMLPurifier_Config
} else { } else {
$namespace = $key; $namespace = $key;
$namespace_values = $value; $namespace_values = $value;
foreach ($namespace_values as $directive => $value) { foreach ($namespace_values as $directive => $value2) {
$this->set($namespace .'.'. $directive, $value); $this->set($namespace .'.'. $directive, $value2);
} }
} }
} }