Skip to content

Commit

Permalink
Bool it
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Sep 28, 2020
1 parent 157318a commit 20a0679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/calypsoify/class.jetpack-calypsoify.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static function getInstance() {
public function setup() {
$this->is_calypsoify_enabled = 1 == (int) get_user_meta( get_current_user_id(), 'calypsoify', true );
if ( isset( $_GET['calypsoify'] ) ) {
$this->is_calypsoify_enabled = (int) $_GET['calypsoify'];
$this->is_calypsoify_enabled = 1 === (int) $_GET['calypsoify'];
}

add_action( 'admin_init', array( $this, 'check_param' ), 4 );
Expand Down

0 comments on commit 20a0679

Please sign in to comment.