commit | 476af3a89058861e7d44473ac01c2206ebbbe6f1 | [log] [tgz] |
---|---|---|
author | Phil Sturgeon <email@philsturgeon.co.uk> | Sun Mar 04 07:25:41 2012 -0800 |
committer | Phil Sturgeon <email@philsturgeon.co.uk> | Sun Mar 04 07:25:41 2012 -0800 |
tree | 76c49b82f03ed919099ec42dd54cba7f58dda363 | |
parent | 4383e36dd8af32ce3a8d8584bad78f62e8465726 [diff] | |
parent | 6f6897cdce965e1cf54deb40ce93ba9be281108f [diff] |
Merge pull request #1116 from tubalmartin/helpers|url|2.1-stable 2.1 stable - An improved url_title helper function
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index 91fbf66..b0490de 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php
@@ -1095,7 +1095,7 @@ $proc = @popen($cmd, 'r'); if (is_resource($proc)) { - $mime = @fread($test, 512); + $mime = @fread($proc, 512); @pclose($proc); if ($mime !== FALSE) {