From 7b2ac816c6697ddb6a87e20362efb7ced22d1e2c Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 13 Mar 2014 12:29:16 -0400 Subject: [PATCH] Retain the original file name so errors can be generated properly. We should hold onto the original file so we can generate a error message when the file is not found. Fixes #2990 Closes #3011 --- lib/Cake/Network/Email/CakeEmail.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/Cake/Network/Email/CakeEmail.php b/lib/Cake/Network/Email/CakeEmail.php index 3b54fee86..257ed3c91 100644 --- a/lib/Cake/Network/Email/CakeEmail.php +++ b/lib/Cake/Network/Email/CakeEmail.php @@ -1,7 +1,5 @@