diff options
author | trit <tritrei@gmail.com> | 2011-11-23 13:00:09 +0100 |
---|---|---|
committer | trit <tritrei@gmail.com> | 2011-11-23 13:00:09 +0100 |
commit | a1dc1f94e1186f60211fca07addd829ef2ebd19c (patch) | |
tree | ea0e346356431f71ffebb625c4ebabb48fc33229 | |
parent | 0aae75388cef0a41931c491dfef7deb0a18fa101 (diff) |
Fixed variable name causing problem
-rw-r--r-- | system/libraries/Email.php | 2 |
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]; |