diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-09 13:12:22 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-09 13:12:22 +0100 |
commit | 996c9fee5a53443de34240c41c3936c3527aa3ce (patch) | |
tree | 4b6d68c75286ac06b9f871c3dd7b6d8bb50d3145 /system/libraries/Upload.php | |
parent | c28e7025f93114afa8c9ab7fb9d65b9c329e2ae6 (diff) | |
parent | c016a1102e2a77e0c27b9656c19a0460df24dfb6 (diff) |
Merge upstream branch
Diffstat (limited to 'system/libraries/Upload.php')
-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 ac29c1bdd..89575c849 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php @@ -1101,7 +1101,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) { |