removed unnecessary foreach() loop for a str_replace()
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index 23e52e4..25e1435 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -707,10 +707,7 @@
 						"%3d"		// =

 					);

 					

-		foreach ($bad as $val)

-		{

-			$filename = str_replace($val, '', $filename);

-		}

+		$filename = str_replace($bad, '', $filename);

 

 		return stripslashes($filename);

 	}