From 8c627e26c0fe6d60a6f06b943bb412fa435b7669 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Thu, 4 Jul 2019 16:53:39 +1000 Subject: [PATCH] Fix missing bracket --- app/controllers/email_attachments_controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/email_attachments_controller.php b/app/controllers/email_attachments_controller.php index f56bb679..141af1a1 100755 --- a/app/controllers/email_attachments_controller.php +++ b/app/controllers/email_attachments_controller.php @@ -26,7 +26,7 @@ class EmailAttachmentsController extends AppController { } header('Content-type: ' . $file['EmailAttachment']['type']); - header('Content-length: ' . $file['EmailAttachment']['size']; + header('Content-length: ' . $file['EmailAttachment']['size']); header('Content-Disposition: attachment; filename='.$filename); readfile($file_path."/".$file['EmailAttachment']['name']);