'process_o2m' => { 'table' => table_name',
'num_col' => 'column', #if column name is different in
#link_table than source_table
+ 'fields' => [qw( fieldname fieldname2 )],
},
#checks CGI params and whatever else before much else runs
$error = $new->replace($old, @args);
} else {
$error = $new->insert(@args);
- $new_pkey = $new->getfield($pkey);
}
+ $new_pkey = $new->getfield($pkey);
}
if ( !$error && $opt{'process_m2m'} ) {