Skip to content

Commit

Permalink
Fix phpcs errors
Browse files Browse the repository at this point in the history
  • Loading branch information
alecgeatches committed May 24, 2024
1 parent 579a365 commit 7857a31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions edit_flow.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ function _ef_print_php_version_admin_notice() {
class edit_flow {

// Unique identified added as a prefix to all options
var $options_group = 'edit_flow_';
var $options_group_name = 'edit_flow_options';
public $options_group = 'edit_flow_';
public $options_group_name = 'edit_flow_options';

/**
* @var EditFlow The one true EditFlow
Expand Down Expand Up @@ -220,7 +220,7 @@ function action_init() {
// Load all of the modules that are enabled.
// Modules won't have an options value if they aren't enabled
foreach ( $this->modules as $mod_name => $mod_data ) {
if ( isset( $mod_data->options->enabled ) && $mod_data->options->enabled == 'on' ) {
if ( isset( $mod_data->options->enabled ) && 'on' === $mod_data->options->enabled ) {
$this->$mod_name->init();
}
}
Expand Down

0 comments on commit 7857a31

Please sign in to comment.