summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/steps/mail/upload.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/program/steps/mail/upload.inc b/program/steps/mail/upload.inc
index 82f348140..aed0a79f8 100644
--- a/program/steps/mail/upload.inc
+++ b/program/steps/mail/upload.inc
@@ -78,6 +78,10 @@ if (is_array($_FILES['_attachments']['tmp_name']))
}
}
}
+else if ($_SERVER['REQUEST_METHOD'] == 'POST')
+ {
+ $OUTPUT->command('display_message', rcube_label('fileuploaderror'), 'error');
+ }
// send html page with JS calls as response
$OUTPUT->command('show_attachment_form', false);