commit | 9be4cd74db158d805e0bc04c48c52a6453337c1d | [log] [tgz] |
---|---|---|
author | gommarah <gommarah@gmail.com> | Mon Jan 28 13:58:35 2013 +0200 |
committer | gommarah <gommarah@gmail.com> | Mon Jan 28 13:58:35 2013 +0200 |
tree | 631f527147892e1db7be7c32f79c0e39fcc9b37b | |
parent | 009c8f09fbe767b01453f32b28f8a8a8dd4ef7c5 [diff] |
Remove str_replace in return
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index 86c9341..1f0bd6a 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php
@@ -1012,7 +1012,7 @@ } while ($old_filename !== $filename); - return stripslashes(str_replace($bad, '', $filename)); + return stripslashes($filename); } // --------------------------------------------------------------------