|
@@ 1063-1065 (lines=3) @@
|
| 1060 |
|
if ( $parent && isset( $_POST['item_meta'][ $parent ][ $pointer ]['other'][ $field['id'] ] ) ) { |
| 1061 |
|
if ( FrmField::is_field_with_multiple_values( $field ) ) { |
| 1062 |
|
$other_val = isset( $_POST['item_meta'][ $parent ][ $pointer ]['other'][ $field['id'] ][ $opt_key ] ) ? sanitize_text_field( wp_unslash( $_POST['item_meta'][ $parent ][ $pointer ]['other'][ $field['id'] ][ $opt_key ] ) ) : ''; |
| 1063 |
|
} else { |
| 1064 |
|
$other_val = sanitize_text_field( wp_unslash( $_POST['item_meta'][ $parent ][ $pointer ]['other'][ $field['id'] ] ) ); |
| 1065 |
|
} |
| 1066 |
|
|
| 1067 |
|
return $other_val; |
| 1068 |
|
|
|
@@ 1074-1076 (lines=3) @@
|
| 1071 |
|
|
| 1072 |
|
if ( FrmField::is_field_with_multiple_values( $field ) ) { |
| 1073 |
|
$other_val = isset( $_POST['item_meta']['other'][ $field['id'] ][ $opt_key ] ) ? sanitize_text_field( wp_unslash( $_POST['item_meta']['other'][ $field['id'] ][ $opt_key ] ) ) : ''; |
| 1074 |
|
} else { |
| 1075 |
|
$other_val = sanitize_text_field( wp_unslash( $_POST['item_meta']['other'][ $field['id'] ] ) ); |
| 1076 |
|
} |
| 1077 |
|
|
| 1078 |
|
return $other_val; |
| 1079 |
|
} |