| @@ -16,9 +16,8 @@ | ||
| 16 | 16 | protected $form; |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | 19 | * @since 6.21 |
| 20 | - * | |
| 21 | 20 | * @var string |
| 22 | 21 | */ |
| 23 | 22 | protected $option_type = 'form'; |
| 24 | 23 | |
| @@ -43,9 +42,8 @@ | ||
| 43 | 42 | * @return bool |
| 44 | 43 | */ |
| 45 | 44 | protected function is_option_on() { |
| 46 | 45 | $key = $this->get_option_key(); |
| 47 | - | |
| 48 | 46 | if ( 'global' === $this->option_type ) { |
| 49 | 47 | $frm_settings = FrmAppHelper::get_settings(); |
| 50 | 48 | return ! empty( $frm_settings->$key ); |
| 51 | 49 | } |