diff --git a/ext/bulk_add/main.php b/ext/bulk_add/main.php index c60c5cd0..b2bdb6f5 100644 --- a/ext/bulk_add/main.php +++ b/ext/bulk_add/main.php @@ -41,7 +41,8 @@ class BulkAdd extends Extension { $image = new Image($tmpname, $filename, $tags); if($image->is_ok()) { - $uie = new UploadingImageEvent($image); + global $user; + $uie = new UploadingImageEvent($user, $image); send_event($uie); $ok = !$uie->vetoed; }