The branch, master has been updated via 024120107cdce3dbca886b1814f746bb8c6e3873 (commit) from 9f971220d0331dda4832005b86ff20ecfabafdf5 (commit)
- Log ----------------------------------------------------------------- commit 024120107cdce3dbca886b1814f746bb8c6e3873 Author: Marc Delisle marc@infomarc.info Date: Sat May 29 07:45:56 2010 -0400
removed code that was adding all fields, even untouched ones, in the UPDATE statement
-----------------------------------------------------------------------
Summary of changes: libraries/tbl_replace_fields.inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libraries/tbl_replace_fields.inc.php b/libraries/tbl_replace_fields.inc.php index dd24882..08bbdb7 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?
hooks/post-receive