summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authortrit <tritrei@gmail.com>2011-11-23 13:00:09 +0100
committertrit <tritrei@gmail.com>2011-11-23 13:00:09 +0100
commita1dc1f94e1186f60211fca07addd829ef2ebd19c (patch)
treeea0e346356431f71ffebb625c4ebabb48fc33229 /system/libraries
parent0aae75388cef0a41931c491dfef7deb0a18fa101 (diff)
Fixed variable name causing problem
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Email.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index b898bae2a..6be294377 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -1156,7 +1156,7 @@ class CI_Email{
if( ! $basename)
{
- $basename = basename($filename);
+ $basename = basename($filepath);
}
$ctype = $this->_attach_type[$i];