From d13ce85b6641630443202f5737eda9c719b436ce Mon Sep 17 00:00:00 2001 From: Dan Wyman Date: Tue, 11 May 2021 12:33:18 -0700 Subject: [PATCH] Set default value for variable --- includes/class-wc-tracker.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/class-wc-tracker.php b/includes/class-wc-tracker.php index 4a958eeb9e9..71ecf606ac0 100644 --- a/includes/class-wc-tracker.php +++ b/includes/class-wc-tracker.php @@ -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;