diff options
Diffstat (limited to 'program/steps/mail/upload.inc')
-rw-r--r-- | program/steps/mail/upload.inc | 4 |
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); |