summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index 0e71aee6b..b85663bcc 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -578,7 +578,7 @@ class CI_Upload {
$mime = $this->mimes_types(strtolower($val));
// Images get some additional checks
- if ($this->file_ext == '.' . $val && in_array($val, $image_types))
+ if ($this->file_ext == '.'.$val && in_array($val, $image_types))
{
if (getimagesize($this->file_temp) === FALSE)
{