program/steps/mail/upload.inc | ●●●●● patch | view | raw | blame | history |
program/steps/mail/upload.inc
@@ -36,6 +36,8 @@ $response = ''; if (is_array($_FILES['_attachments']['tmp_name'])) { foreach ($_FILES['_attachments']['tmp_name'] as $i => $filepath) { $tmpfname = tempnam($temp_dir, 'rcmAttmnt'); @@ -75,7 +77,7 @@ $OUTPUT->command('display_message', $msg, 'error'); } } } // send html page with JS calls as response $OUTPUT->command('show_attachment_form', false);