From 9429544eeeb3a6b2329429e9ecacaf4465b72c23 Mon Sep 17 00:00:00 2001 From: GuilhermeLinkNacional Date: Tue, 25 Mar 2025 14:07:11 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20Corre=C3=A7=C3=A3o=20de=20erro=20fatal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Includes/GiveMultiCurrencyActions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Includes/GiveMultiCurrencyActions.php b/Includes/GiveMultiCurrencyActions.php index 1636f70..c2b917b 100755 --- a/Includes/GiveMultiCurrencyActions.php +++ b/Includes/GiveMultiCurrencyActions.php @@ -104,7 +104,7 @@ public static function lkn_give_multi_currency_get_default_coin() */ public static function lkn_give_multi_currency_get_active_currency() { - $currencies = give_get_option('multi_currency_active_currency'); + $currencies = give_get_option('multi_currency_active_currency', []); $defaultCurrency = strtolower(give_get_option('multi_currency_default_currency')); $currencies = array_values(array_filter($currencies, function ($item) use ($defaultCurrency) {