|
@@ 461-466 (lines=6) @@
|
| 458 |
|
} |
| 459 |
|
|
| 460 |
|
if ( $f['type'] == 'form' || ( $f['type'] == 'divider' && FrmField::is_option_true( $f['field_options'], 'repeat' ) ) ) { |
| 461 |
|
if ( FrmField::is_option_true( $f['field_options'], 'form_select' ) ) { |
| 462 |
|
$form_select = (int) $f['field_options']['form_select']; |
| 463 |
|
if ( isset( $imported['forms'][ $form_select ] ) ) { |
| 464 |
|
$f['field_options']['form_select'] = $imported['forms'][ $form_select ]; |
| 465 |
|
} |
| 466 |
|
} |
| 467 |
|
} |
| 468 |
|
} |
| 469 |
|
|
|
@@ 483-488 (lines=6) @@
|
| 480 |
|
return; |
| 481 |
|
} |
| 482 |
|
|
| 483 |
|
if ( FrmField::is_option_true_in_array( $f['field_options'], 'get_values_form' ) ) { |
| 484 |
|
$old_form = $f['field_options']['get_values_form']; |
| 485 |
|
if ( isset( $imported['forms'][ $old_form ] ) ) { |
| 486 |
|
$f['field_options']['get_values_form'] = $imported['forms'][ $old_form ]; |
| 487 |
|
} |
| 488 |
|
} |
| 489 |
|
} |
| 490 |
|
|
| 491 |
|
/** |