From f5e9f974260bba398e5bfce2c7dd94476fd13bea Mon Sep 17 00:00:00 2001 From: Patrick Date: Fri, 13 Sep 2024 15:13:25 -0400 Subject: [PATCH] SP-940: Remove prefix from table check --- BitPayLib/class-bitpaysupportpackage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BitPayLib/class-bitpaysupportpackage.php b/BitPayLib/class-bitpaysupportpackage.php index 25d9382..ea03e1a 100644 --- a/BitPayLib/class-bitpaysupportpackage.php +++ b/BitPayLib/class-bitpaysupportpackage.php @@ -93,7 +93,7 @@ private function get_site_data_as_json(): bool|string { 'tables' => array( array( 'table' => '_bitpay_checkout_transactions', - 'exists' => $wpdb->get_var( "SHOW TABLES LIKE '{$wpdb->prefix}_bitpay_checkout_transactions'" ) ? 'yes' : 'no', + 'exists' => $wpdb->get_var( "SHOW TABLES LIKE '_bitpay_checkout_transactions'" ) ? 'yes' : 'no', ), ), ),