diff options
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index 82383f658..545c92ff3 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php @@ -1103,7 +1103,7 @@ class CI_Upload { $proc = @popen($cmd, 'r'); if (is_resource($proc)) { - $mime = @fread($test, 512); + $mime = @fread($proc, 512); @pclose($proc); if ($mime !== FALSE) { |