bug #3477063 [edit] Missing set fields and values in generated INSERT query

This commit is contained in:
Madhura Jayaratne
2012-01-22 11:55:28 +05:30
parent 5da1aaa0fe
commit 3c7b233d9c
3 changed files with 8 additions and 2 deletions

View File

@@ -79,6 +79,8 @@ if (false !== $possibly_uploaded_val) {
if (! empty($_REQUEST['fields']['multi_edit'][$rownumber][$key])) {
$val = implode(',', $_REQUEST['fields']['multi_edit'][$rownumber][$key]);
$val = "'" . PMA_sqlAddslashes($val) . "'";
} else {
$val = "''";
}
} elseif ($type == 'protected') {
// here we are in protected mode (asked in the config)