fix error messages for failed trasload
git-svn-id: file:///home/shish/svn/shimmie2/trunk@789 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
ffe6b2ab7c
commit
3a2538ad96
@ -188,7 +188,7 @@ class Upload extends Extension {
|
|||||||
$event = new DataUploadEvent($user, $tmp_filename, $metadata);
|
$event = new DataUploadEvent($user, $tmp_filename, $metadata);
|
||||||
send_event($event);
|
send_event($event);
|
||||||
if($event->vetoed) {
|
if($event->vetoed) {
|
||||||
$this->theme->display_upload_error($page, "Error with ".html_escape($file['name']),
|
$this->theme->display_upload_error($page, "Error with ".html_escape($url),
|
||||||
$event->veto_reason);
|
$event->veto_reason);
|
||||||
$ok = false;
|
$ok = false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user