Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
eeebdcee
Commit
eeebdcee
authored
Aug 20, 2017
by
Carsten Rose
Browse files
Feature: Form Paste Records - skip columns during copy if they do not exist on the source side.
parent
d7c92cdf
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/form/FormAction.php
View file @
eeebdcee
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment