From fe1de3874b79b5044fed31ae213f7f34f7e0c46d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sat, 18 Aug 2001 17:46:11 +0000 Subject: [PATCH] fixed a coding bug --- tbl_replace.php3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tbl_replace.php3 b/tbl_replace.php3 index da5998bf4..d4ab5c60d 100755 --- a/tbl_replace.php3 +++ b/tbl_replace.php3 @@ -95,7 +95,7 @@ if (isset($primary_key) && ($submit_type != $strInsertAsNewRow)) { if (!empty($$f)) { $val = implode(',', $$f); if ($is_encoded) { - $val = "'" . sql_addslashes(urldecode(val)) . "'"; + $val = "'" . sql_addslashes(urldecode($val)) . "'"; } else if (get_magic_quotes_gpc()) { $val = "'" . str_replace('\\"', '"', $val) . "'"; } else {