diff --git a/core/event.class.php b/core/event.class.php index cadfe1a1..a65d0d8a 100644 --- a/core/event.class.php +++ b/core/event.class.php @@ -134,6 +134,7 @@ class PageRequestEvent extends Event { $this->args = $args; $this->arg_count = count($args); $this->page = $context->page; + $this->user = $context->user; } public function page_matches($name) {