summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevesa Agustín <adevesa@mininterior.gob.ar>2020-01-28 03:56:42 +0100
committerDevesa Agustín <adevesa@mininterior.gob.ar>2020-01-28 03:56:42 +0100
commitf9a9239a32405fb458dbe2a086bc64c98d418c71 (patch)
treeac28db27e44a2f4a00768a4f879fefc3dbe916d1
parentd88fdc92c9a608fd92c124b7f078238b7d4f3eee (diff)
Update Upload.php
-rw-r--r--system/libraries/Upload.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index 2e17b1463..95f765b78 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -901,7 +901,8 @@ class CI_Upload {
}
// Images get some additional checks
- if (in_array($ext, array('gif', 'jpg', 'jpeg', 'jpe', 'png', 'webp'), TRUE) && @getimagesize($this->file_temp) === FALSE){
+ if (in_array($ext, array('gif', 'jpg', 'jpeg', 'jpe', 'png', 'webp'), TRUE) && @getimagesize($this->file_temp) === FALSE)
+ {
return FALSE;
}