@@ -36,7 +36,7 @@ |
||
36 | 36 | // Check if WooCommerce.com account is connected. |
37 | 37 | $woo_com_connected = 'no'; |
38 | 38 | $helper_options = get_option( 'woocommerce_helper_data', array() ); |
39 | - if ( array_key_exists( 'auth', $helper_options ) && ! empty( $helper_options['auth'] ) ) { |
|
39 | + if ( array_key_exists( 'auth', $helper_options ) && ! empty( $helper_options[ 'auth' ] ) ) { |
|
40 | 40 | $woo_com_connected = 'yes'; |
41 | 41 | } |
42 | 42 |