diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-09 13:17:18 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-09 13:17:18 +0100 |
commit | 5f2214f0526b823c92f308312d883147a4c9faed (patch) | |
tree | 146f821e4a7d60ee059764c2bc884620c9e84901 /system/libraries/Upload.php | |
parent | 4cc726913b7a8696dc5cff7456b6a95926b6816b (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) { |