removed code that was adding all fields, even untouched ones, in the UPDATE statement

This commit is contained in:
Marc Delisle
2010-05-29 07:45:56 -04:00
parent 9f971220d0
commit 024120107c

View File

@@ -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?