summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2011-09-24 21:59:37 +0200
committerAndrey Andreev <narf@bofh.bg>2011-09-24 21:59:37 +0200
commit2cec39f2c221d2acab5dbd830b6dd64db01b24d9 (patch)
tree95a893e0d3d716693208ae67e32b06792d0ff620 /system
parent420fe0721944ad58a3199b31c92cd896499c8ed1 (diff)
Fix an erroneus variable name and a typo in comments
Diffstat (limited to 'system')
-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 324747e80..67551fbbd 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -1030,11 +1030,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;
}
}