diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index 091c6c3..37fccdf 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -454,7 +454,7 @@
);
- return (in_array($this->file_type, $img_mimes)) ? TRUE : FALSE;
+ return (in_array($this->file_type, $img_mimes, TRUE)) ? TRUE : FALSE;
}
// --------------------------------------------------------------------
@@ -479,7 +479,7 @@
if (is_array($mime))
{
- if (in_array($this->file_type, $mime))
+ if (in_array($this->file_type, $mime, TRUE))
{
return TRUE;
}