|
@@ 505-510 (lines=6) @@
|
| 502 |
|
} |
| 503 |
|
|
| 504 |
|
if ( $f['type'] == 'form' || ( $f['type'] == 'divider' && FrmField::is_option_true( $f['field_options'], 'repeat' ) ) ) { |
| 505 |
|
if ( FrmField::is_option_true( $f['field_options'], 'form_select' ) ) { |
| 506 |
|
$form_select = (int) $f['field_options']['form_select']; |
| 507 |
|
if ( isset( $imported['forms'][ $form_select ] ) ) { |
| 508 |
|
$f['field_options']['form_select'] = $imported['forms'][ $form_select ]; |
| 509 |
|
} |
| 510 |
|
} |
| 511 |
|
} |
| 512 |
|
} |
| 513 |
|
|
|
@@ 527-532 (lines=6) @@
|
| 524 |
|
return; |
| 525 |
|
} |
| 526 |
|
|
| 527 |
|
if ( FrmField::is_option_true_in_array( $f['field_options'], 'get_values_form' ) ) { |
| 528 |
|
$old_form = $f['field_options']['get_values_form']; |
| 529 |
|
if ( isset( $imported['forms'][ $old_form ] ) ) { |
| 530 |
|
$f['field_options']['get_values_form'] = $imported['forms'][ $old_form ]; |
| 531 |
|
} |
| 532 |
|
} |
| 533 |
|
} |
| 534 |
|
|
| 535 |
|
/** |