thomascube
2008-05-27 7ffc08ce87bdbc761eb9811f8be25a8c9c4e9976
Remove cruft from upload response

1 files modified
8 ■■■■ changed files
program/steps/mail/upload.inc 8 ●●●● patch | view | raw | blame | history
program/steps/mail/upload.inc
@@ -20,9 +20,8 @@
*/
if (!$_SESSION['compose'])
  {
  exit;
if (!$_SESSION['compose']) {
  die("Invalid session var!");
  }
@@ -34,7 +33,8 @@
  $_SESSION['compose']['attachments'] = array();
$response = '';
// clear all stored output properties (like scripts and env vars)
$OUTPUT->reset();
if (is_array($_FILES['_attachments']['tmp_name']))
  {