From ffe6bc35979a230546ac0cdbb8cc3b6275d67b36 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 12 Aug 2009 15:35:30 +0100 Subject: [PATCH] missed a spot --- ext/comment/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/comment/main.php b/ext/comment/main.php index 17408ac6..73057bfd 100644 --- a/ext/comment/main.php +++ b/ext/comment/main.php @@ -94,7 +94,7 @@ class CommentList extends SimpleExtension { } public function onPageRequest($event) { - global $user; + global $page, $user; if($event->page_matches("comment")) { if($event->get_arg(0) == "add") { if(isset($_POST['image_id']) && isset($_POST['comment'])) {