pull fix for bulk add into stable

git-svn-id: file:///home/shish/svn/shimmie2/branches/branch_2.1@500 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-09-29 00:14:29 +00:00
parent b071577cd1
commit 869e01bbe0

View File

@ -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;
}