| @@ -102,9 +102,10 @@ | ||
| 102 | 102 | * @return void |
| 103 | 103 | */ |
| 104 | 104 | public function prepare_displayed_value( $atts = array() ) { |
| 105 | 105 | $this->displayed_value = $this->saved_value; |
| 106 | - unset( $atts['class'] ); // This class shouldn't affect values. | |
| 106 | + // This class shouldn't affect values. | |
| 107 | + unset( $atts['class'] ); | |
| 107 | 108 | $this->generate_displayed_value_for_field_type( $atts ); |
| 108 | 109 | $this->filter_displayed_value( $atts ); |
| 109 | 110 | } |
| 110 | 111 | |
| @@ -250,9 +251,9 @@ | ||
| 250 | 251 | 'field' => $this->field, |
| 251 | 252 | ) |
| 252 | 253 | ); |
| 253 | 254 | } |
| 254 | - } | |
| 255 | + }//end if | |
| 255 | 256 | |
| 256 | 257 | // frm_display_{fieldtype}_value_custom hook |
| 257 | 258 | $this->displayed_value = apply_filters( |
| 258 | 259 | 'frm_display_' . $this->field->type . '_value_custom', |