diff --git a/ext/tag_edit/main.php b/ext/tag_edit/main.php index 4f77d993..1fecf1a0 100644 --- a/ext/tag_edit/main.php +++ b/ext/tag_edit/main.php @@ -36,7 +36,8 @@ class TagEdit extends Extension { } } else { - $this->theme->display_error($event->page, "Error", "Anonymous tag editing is disabled"); + global $page; + $this->theme->display_error($page, "Error", "Anonymous tag editing is disabled"); } }