From 29c3a6051af2a12d0ad5ceaa195fc32db8057d11 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Tue, 27 Apr 2010 17:08:50 +1000 Subject: [PATCH] Hm. Downloader should be fixed bitches --- controllers/email_attachments_controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/email_attachments_controller.php b/controllers/email_attachments_controller.php index 0dcfddc4..a50dd71b 100755 --- a/controllers/email_attachments_controller.php +++ b/controllers/email_attachments_controller.php @@ -16,7 +16,7 @@ class EmailAttachmentsController extends AppController { header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); ob_clean(); flush(); - readfile($file['EmailAttachment']['filename']); + readfile($file['EmailAttachment']['name']); // echo $file['EmailAttachment']['filename'] exit(); }