Skip to content

Commit

Permalink
Merge pull request bitpay#93 from p-maguire/6.0.x
Browse files Browse the repository at this point in the history
SP-940: Remove prefix from table check
  • Loading branch information
bobbrodie authored Sep 13, 2024
2 parents b587a3e + f5e9f97 commit 17da22c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BitPayLib/class-bitpaysupportpackage.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
),
),
),
Expand Down

0 comments on commit 17da22c

Please sign in to comment.