undefined $primary_field

This commit is contained in:
Marc Delisle
2010-07-22 14:10:58 -04:00
parent ec9a60f8e0
commit 362aa516ac
2 changed files with 35 additions and 0 deletions

View File

@@ -210,6 +210,10 @@ foreach ($loop_array as $rowcount => $where_clause) {
? $_REQUEST['auto_increment']['multi_edit'][$rowcount]
: null;
if ($blob_streaming_active) {
$primary_field = PMA_BS_GetPrimaryField($GLOBALS['db'], $GLOBALS['table']);
}
// Fetch the current values of a row to use in case we have a protected field
// @todo possibly move to ./libraries/tbl_replace_fields.inc.php
if ($is_insert && $using_key && isset($me_fields_type) && is_array($me_fields_type) && isset($where_clause)) {