missed a spot
This commit is contained in:
parent
76a9090ded
commit
ffe6bc3597
@ -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'])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user