From bb8079def84bd204ca6929baf26bc77e313a7428 Mon Sep 17 00:00:00 2001 From: Gan Eng Chin Date: Thu, 29 Jun 2023 19:12:48 +0800 Subject: [PATCH] Fix PHP lint issues. --- .../woocommerce/src/Admin/Marketing/InstalledExtensions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce/src/Admin/Marketing/InstalledExtensions.php b/plugins/woocommerce/src/Admin/Marketing/InstalledExtensions.php index d5b47d19927..62779c3addd 100644 --- a/plugins/woocommerce/src/Admin/Marketing/InstalledExtensions.php +++ b/plugins/woocommerce/src/Admin/Marketing/InstalledExtensions.php @@ -401,8 +401,8 @@ class InstalledExtensions { $data['icon'] = WC_ADMIN_IMAGES_FOLDER_URL . '/marketing/klaviyo.png'; if ( 'activated' === $data['status'] ) { - $klaviyo_options = get_option('klaviyo_settings'); - if (isset($klaviyo_options['klaviyo_public_api_key'])) { + $klaviyo_options = get_option( 'klaviyo_settings' ); + if ( isset( $klaviyo_options['klaviyo_public_api_key'] ) ) { $data['status'] = 'configured'; }