diff --git a/core/event.class.php b/core/event.class.php index c62c19f9..2f3b84dd 100644 --- a/core/event.class.php +++ b/core/event.class.php @@ -50,7 +50,7 @@ class PageRequestEvent extends Event { // this still needed? if(strpos($path, "^") !== FALSE) { $unescaped = array(); - foreach($parts as $part) { + foreach($args as $part) { $unescaped[] = _decaret($part); } $args = $unescaped;