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