Skip to content

Commit

Permalink
SP-940: Remove prefix from table check
Browse files Browse the repository at this point in the history
  • Loading branch information
p-maguire committed Sep 13, 2024
1 parent b587a3e commit f5e9f97
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 f5e9f97

Please sign in to comment.