| @@ -208,9 +208,9 @@ | ||
| 208 | 208 | $classes = 'frm-advanced-list'; |
| 209 | 209 | $classes .= in_array( $skey, array( 'siteurl', 'sitename', 'entry_count' ), true ) ? ' show_before_content show_after_content' : ''; |
| 210 | 210 | $classes .= str_starts_with( $skey, 'default-' ) ? ' hide_frm_not_email_subject' : ''; |
| 211 | 211 | |
| 212 | - if ( in_array( $skey, array_keys( $contextual_codes ), true ) ) { | |
| 212 | + if ( array_key_exists( $skey, $contextual_codes ) ) { | |
| 213 | 213 | $classes .= ' frm_hidden'; |
| 214 | 214 | } |
| 215 | 215 | |
| 216 | 216 | FrmFormsHelper::insert_code_html( |