diff options
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Upload.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index 23e52e403..25e143567 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php @@ -707,10 +707,7 @@ class CI_Upload { "%3d" // =
);
- foreach ($bad as $val)
- {
- $filename = str_replace($val, '', $filename);
- }
+ $filename = str_replace($bad, '', $filename);
return stripslashes($filename);
}
|