From 940687a8ac3e30a7e05e77d94039a9d9e8699e4d Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 10 Aug 2009 21:51:04 +0100 Subject: [PATCH] missed a spot --- ext/comment/main.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/comment/main.php b/ext/comment/main.php index f050b969..17408ac6 100644 --- a/ext/comment/main.php +++ b/ext/comment/main.php @@ -94,6 +94,7 @@ class CommentList extends SimpleExtension { } public function onPageRequest($event) { + global $user; if($event->page_matches("comment")) { if($event->get_arg(0) == "add") { if(isset($_POST['image_id']) && isset($_POST['comment'])) {