'tags' might not exist yet, use get_tag_array()
This commit is contained in:
parent
e10cc4fa99
commit
f04704e3e9
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class NotATag extends Extension {
|
|||
public function get_priority() {return 30;} // before ImageUploadEvent and tag_history
|
||||
|
||||
public function onImageAddition(ImageAdditionEvent $event) {
|
||||
$this->scan($event->image->tags);
|
||||
$this->scan($event->image->get_tag_array());
|
||||
}
|
||||
|
||||
public function onTagSet(TagSetEvent $event) {
|
||||
|
|
Reference in a new issue