alecpl
2008-05-26 e34545708fe518182601be64639e7ba9d2be21d4
-display error on any upload error (eg. on post_max_size overlimit)


1 files modified
4 ■■■■ changed files
program/steps/mail/upload.inc 4 ●●●● patch | view | raw | blame | history
program/steps/mail/upload.inc
@@ -78,6 +78,10 @@
      }
    }
  }
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);