Commit eeebdcee authored by Carsten  Rose's avatar Carsten Rose
Browse files

Feature: Form Paste Records - skip columns during copy if they do not exist on the source side.

parent d7c92cdf
......@@ -589,7 +589,12 @@ class FormAction {
// Process all columns of destTable
foreach ($columns as $col) {
$key = $col[COLUMN_FIELD];
// Only copy values which exist on source AND destination.
if (!isset($row[$key])) {
continue;
}
$val = $row[$key];
switch ($key) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment