Set default value for variable

This commit is contained in:
Dan Wyman 2021-05-11 12:33:18 -07:00 committed by Menaka S
parent 5dfac89d80
commit d13ce85b66
1 changed files with 1 additions and 0 deletions

View File

@ -506,6 +506,7 @@ class WC_Tracker {
"
);
$orders_by_gateway_currency = array();
foreach ( $orders_by_gateway as $orders_details ) {
$gateway = 'gateway_' . $orders_details->gateway;
$currency = $orders_details->currency;