From aade7fd1c5506f9e3b789a5f12def8c7bdff77c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Wed, 5 Sep 2001 19:29:19 +0000 Subject: [PATCH] removed some unnecessary "str_replace" --- ldi_check.php3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ldi_check.php3 b/ldi_check.php3 index ecae5ac2f..6370a14ec 100755 --- a/ldi_check.php3 +++ b/ldi_check.php3 @@ -33,12 +33,12 @@ if (isset($btnLDI) && ($textfile != 'none')) { $textfile = sql_addslashes($textfile); if (get_magic_quotes_gpc()) { $field_terminater = stripslashes($field_terminater); - $enclosed = sql_addslashes(stripslashes(str_replace('"', '"', $enclosed))); + $enclosed = sql_addslashes(stripslashes($enclosed)); $escaped = sql_addslashes(stripslashes($escaped)); $line_terminator = stripslashes($line_terminator); $column_name = sql_addslashes(stripslashes($column_name)); } else { - $enclosed = sql_addslashes(str_replace('"', '"', $enclosed)); + $enclosed = sql_addslashes($enclosed); $escaped = sql_addslashes($escaped); $column_name = sql_addslashes($column_name); }