| @@ -304,9 +304,9 @@ | ||
| 304 | 304 | */ |
| 305 | 305 | private static function maybe_format_field_name_for_column_title( $field, $include_column_for_sep_val, $is_value = true ) { |
| 306 | 306 | $field_name = FrmAppHelper::truncate( $field->name, 35 ); |
| 307 | 307 | |
| 308 | - if ( ! $include_column_for_sep_val || ! in_array( $field->type, array( 'select', 'radio', 'checkbox' ), true ) ) { | |
| 308 | + if ( ! $include_column_for_sep_val || ! in_array( $field->type, array( 'select', 'radio', 'checkbox', 'product', 'ranking' ), true ) ) { | |
| 309 | 309 | return $field_name; |
| 310 | 310 | } |
| 311 | 311 | |
| 312 | 312 | $append_text = $is_value ? esc_html__( 'value', 'formidable' ) : esc_html__( 'label', 'formidable' ); |
| @@ -414,10 +414,9 @@ | ||
| 414 | 414 | if ( ! $save ) { |
| 415 | 415 | return; |
| 416 | 416 | } |
| 417 | 417 | |
| 418 | - $user_id = get_current_user_id(); | |
| 419 | - update_user_option( $user_id, $this_page_name, $meta_value, true ); | |
| 418 | + update_user_option( get_current_user_id(), $this_page_name, $meta_value, true ); | |
| 420 | 419 | } |
| 421 | 420 | |
| 422 | 421 | /** |
| 423 | 422 | * @since 2.05.07 |