From 024120107cdce3dbca886b1814f746bb8c6e3873 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 29 May 2010 07:45:56 -0400 Subject: [PATCH] removed code that was adding all fields, even untouched ones, in the UPDATE statement --- libraries/tbl_replace_fields.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/tbl_replace_fields.inc.php b/libraries/tbl_replace_fields.inc.php index dd24882fe..08bbdb7fd 100644 --- a/libraries/tbl_replace_fields.inc.php +++ b/libraries/tbl_replace_fields.inc.php @@ -114,7 +114,7 @@ if (false !== $possibly_uploaded_val) { $val = preg_replace('/[^01]/', '0', $val); $val = "b'" . PMA_sqlAddslashes($val) . "'"; } elseif (! (($type == 'datetime' || $type == 'timestamp') && $val == 'CURRENT_TIMESTAMP')) { - $val = "'" . PMA_sqlAddslashes($val) . "' /*" . $type . " */"; + $val = "'" . PMA_sqlAddslashes($val) . "'"; } // Was the Null checkbox checked for this field?