summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2011-09-24 21:59:37 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-10-27 00:33:55 +0200
commitf1649bf567aa769b283bb0b74ed8aee5b44a704b (patch)
tree956630682e00b728179713b67081529b4550cbd2 /system/libraries
parent7bfb95b9c329a7905a20f9ebfeacccac7ffd7e41 (diff)
Fix an erroneus variable name and a typo in comments
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Upload.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index fd9c8b3e8..a0f3e76bb 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -1028,11 +1028,11 @@ class CI_Upload {
/* According to the comments section of the PHP manual page,
* it is possible that this function returns an empty string
- * for some files (e.g. if they don't exist in the magic MIME database.
+ * for some files (e.g. if they don't exist in the magic MIME database)
*/
if (strlen($file_type) > 1)
{
- $this->file_type = $file_info;
+ $this->file_type = $file_type;
return;
}
}