removed code that was adding all fields, even untouched ones, in the UPDATE statement
This commit is contained in:
@@ -114,7 +114,7 @@ if (false !== $possibly_uploaded_val) {
|
|||||||
$val = preg_replace('/[^01]/', '0', $val);
|
$val = preg_replace('/[^01]/', '0', $val);
|
||||||
$val = "b'" . PMA_sqlAddslashes($val) . "'";
|
$val = "b'" . PMA_sqlAddslashes($val) . "'";
|
||||||
} elseif (! (($type == 'datetime' || $type == 'timestamp') && $val == 'CURRENT_TIMESTAMP')) {
|
} 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?
|
// Was the Null checkbox checked for this field?
|
||||||
|
Reference in New Issue
Block a user