diff options
author | gommarah <gommarah@gmail.com> | 2013-01-28 12:58:35 +0100 |
---|---|---|
committer | gommarah <gommarah@gmail.com> | 2013-01-28 12:58:35 +0100 |
commit | 9be4cd74db158d805e0bc04c48c52a6453337c1d (patch) | |
tree | 631f527147892e1db7be7c32f79c0e39fcc9b37b /system/libraries/Upload.php | |
parent | 009c8f09fbe767b01453f32b28f8a8a8dd4ef7c5 (diff) |
Remove str_replace in return
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 86c93411e..1f0bd6a6e 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php @@ -1012,7 +1012,7 @@ class CI_Upload { } while ($old_filename !== $filename); - return stripslashes(str_replace($bad, '', $filename)); + return stripslashes($filename); } // -------------------------------------------------------------------- |