bug #1699532 last part of the fix (for ENU)

This commit is contained in:
Marc Delisle
2007-05-23 17:11:16 +00:00
parent 318f827774
commit 3aa359d574

View File

@@ -78,8 +78,8 @@ if (false !== $possibly_uploaded_val) {
// if we have a set, then construct the value // if we have a set, then construct the value
case 'foreign': case 'foreign':
// if we have a foreign key, then construct the value // if we have a foreign key, then construct the value
if (! empty($_REQUEST[$f]['multi_edit'][$primary_key])) { if (! empty($_REQUEST[$f]['multi_edit'][$rowcount])) {
$val = implode(',', $_REQUEST[$f]['multi_edit'][$primary_key]); $val = implode(',', $_REQUEST[$f]['multi_edit'][$rowcount]);
$val = "'" . PMA_sqlAddslashes($val) . "'"; $val = "'" . PMA_sqlAddslashes($val) . "'";
} }
break; break;