Skip to content

Commit

Permalink
variable fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoshualewis committed Nov 19, 2019
1 parent 5a35368 commit d4678c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function bitpay_checkout_update_order_note($order_id = null, $transaction_id = n
if ($order_id != null && $transaction_id != null && $transaction_status != null):
$wpdb->update($table_name, array('transaction_status' => $transaction_status), array("order_id" => $order_id, 'transaction_id' => $transaction_id));
else:
BPC_Logger('Missing values' . PHP_EOL . 'order id: ' . $order_id . PHP_EOL . 'transaction id: ' . $transaction_id . PHP_EOL . 'transaction status: ' . $transaction . PHP_EOL, 'error', false, true);
BPC_Logger('Missing values' . PHP_EOL . 'order id: ' . $order_id . PHP_EOL . 'transaction id: ' . $transaction_id . PHP_EOL . 'transaction status: ' . $transaction_status . PHP_EOL, 'error', false, true);
endif;
}

Expand Down

0 comments on commit d4678c6

Please sign in to comment.