| @@ -9,9 +9,8 @@ | ||
| 9 | 9 | class FrmFieldSelect extends FrmFieldType { |
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * @var string |
| 13 | - * | |
| 14 | 13 | * @since 3.0 |
| 15 | 14 | */ |
| 16 | 15 | protected $type = 'select'; |
| 17 | 16 | |
| @@ -16,9 +15,8 @@ | ||
| 16 | 15 | protected $type = 'select'; |
| 17 | 16 | |
| 18 | 17 | /** |
| 19 | 18 | * @var bool |
| 20 | - * | |
| 21 | 19 | * @since 3.0 |
| 22 | 20 | */ |
| 23 | 21 | protected $holds_email_values = true; |
| 24 | 22 | |
| @@ -54,11 +52,8 @@ | ||
| 54 | 52 | /** |
| 55 | 53 | * Get the type of field being displayed. |
| 56 | 54 | * |
| 57 | 55 | * @since 4.02.01 |
| 58 | - * | |
| 59 | - * @param array|object $field | |
| 60 | - * | |
| 61 | 56 | * @return array |
| 62 | 57 | */ |
| 63 | 58 | public function displayed_field_type( $field ) { |
| 64 | 59 | return array( |
| @@ -92,9 +87,9 @@ | ||
| 92 | 87 | } |
| 93 | 88 | |
| 94 | 89 | protected function prepare_import_value( $value, $atts ) { |
| 95 | 90 | if ( FrmField::is_option_true( $this->field, 'multiple' ) ) { |
| 96 | - return $this->get_multi_opts_for_import( $value ); | |
| 91 | + $value = $this->get_multi_opts_for_import( $value ); | |
| 97 | 92 | } |
| 98 | 93 | |
| 99 | 94 | return $value; |
| 100 | 95 | } |