|
@@ 477-482 (lines=6) @@
|
| 474 |
|
} |
| 475 |
|
|
| 476 |
|
if ( $f['type'] == 'form' || ( $f['type'] == 'divider' && FrmField::is_option_true( $f['field_options'], 'repeat' ) ) ) { |
| 477 |
|
if ( FrmField::is_option_true( $f['field_options'], 'form_select' ) ) { |
| 478 |
|
$form_select = (int) $f['field_options']['form_select']; |
| 479 |
|
if ( isset( $imported['forms'][ $form_select ] ) ) { |
| 480 |
|
$f['field_options']['form_select'] = $imported['forms'][ $form_select ]; |
| 481 |
|
} |
| 482 |
|
} |
| 483 |
|
} |
| 484 |
|
} |
| 485 |
|
|
|
@@ 499-504 (lines=6) @@
|
| 496 |
|
return; |
| 497 |
|
} |
| 498 |
|
|
| 499 |
|
if ( FrmField::is_option_true_in_array( $f['field_options'], 'get_values_form' ) ) { |
| 500 |
|
$old_form = $f['field_options']['get_values_form']; |
| 501 |
|
if ( isset( $imported['forms'][ $old_form ] ) ) { |
| 502 |
|
$f['field_options']['get_values_form'] = $imported['forms'][ $old_form ]; |
| 503 |
|
} |
| 504 |
|
} |
| 505 |
|
} |
| 506 |
|
|
| 507 |
|
/** |