diff --git a/ext/bulk_add/main.php b/ext/bulk_add/main.php index 915466e2..754318ff 100644 --- a/ext/bulk_add/main.php +++ b/ext/bulk_add/main.php @@ -40,7 +40,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; }