summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorgommarah <gommarah@gmail.com>2013-01-28 12:58:35 +0100
committergommarah <gommarah@gmail.com>2013-01-28 12:58:35 +0100
commit9be4cd74db158d805e0bc04c48c52a6453337c1d (patch)
tree631f527147892e1db7be7c32f79c0e39fcc9b37b /system
parent009c8f09fbe767b01453f32b28f8a8a8dd4ef7c5 (diff)
Remove str_replace in return
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Upload.php2
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);
}
// --------------------------------------------------------------------