missed a spot

This commit is contained in:
Shish 2009-08-10 21:51:04 +01:00
parent 51dab939ea
commit 940687a8ac

View File

@ -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'])) {