| @@ -138,9 +138,9 @@ | ||
| 138 | 138 | |
| 139 | 139 | $name_layout = $this->get_name_layout(); |
| 140 | 140 | |
| 141 | 141 | if ( ! empty( $atts['show'] ) ) { |
| 142 | - return $value[ $atts['show'] ] ?? ''; | |
| 142 | + return isset( $value[ $atts['show'] ] ) ? $value[ $atts['show'] ] : ''; | |
| 143 | 143 | } |
| 144 | 144 | |
| 145 | 145 | $value = wp_parse_args( |
| 146 | 146 | $value, |
| @@ -253,11 +253,9 @@ | ||
| 253 | 253 | * @param array $args |
| 254 | 254 | * @return void |
| 255 | 255 | */ |
| 256 | 256 | public function show_after_default( $args ) { |
| 257 | - echo '<div class="frm-mt-xs">'; | |
| 258 | 257 | parent::show_after_default( $args ); |
| 259 | - echo '</div>'; | |
| 260 | 258 | |
| 261 | 259 | /** |
| 262 | 260 | * @var array $field |
| 263 | 261 | */ |