missed a global

This commit is contained in:
Shish 2012-02-02 05:23:55 +00:00
parent 16745aadc6
commit d5527d6dc8

View file

@ -72,7 +72,7 @@ class TagEdit extends SimpleExtension {
} }
public function onImageInfoSet($event) { public function onImageInfoSet($event) {
global $user; global $user, $page;
if($this->can_tag($event->image)) { if($this->can_tag($event->image)) {
send_event(new TagSetEvent($event->image, $_POST['tag_edit__tags'])); send_event(new TagSetEvent($event->image, $_POST['tag_edit__tags']));
if($this->can_source($event->image)) { if($this->can_source($event->image)) {