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:
parent
d516e2f8de
commit
30961523ef
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user