From 7ec6447c3bf23f60496d0eea5f89bc10d6af3642 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 23 Dec 2008 13:27:12 -0800 Subject: [PATCH] ImageInfoSetEvent has no event->page? --- ext/tag_edit/main.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); } }