We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d498d29 commit 86f56f4Copy full SHA for 86f56f4
inc/namespace.php
@@ -47,8 +47,7 @@ function on_plugins_loaded() {
47
$secret_key = Altis\get_variable( 'PATCHSTACK_SECRETKEY' );
48
if ( $client_id && $secret_key ) {
49
// check if the plugin is already connected
50
- if ( ( get_option( 'patchstack_clientid', false ) == false ) ||
51
- ( get_option( 'patchstack_secretkey', false ) == false ) ) {
+ if ( get_option( 'patchstack_clientid', false ) === false || get_option( 'patchstack_secretkey', false ) == false ) {
52
// set the client id and secret key
53
update_option( 'patchstack_clientid', $client_id );
54
update_option( 'patchstack_secretkey', $secret_key );
0 commit comments