From 3b3921bbc895680e35da6e4134f35dc17efb9553 Mon Sep 17 00:00:00 2001 From: Alex <40072887+alexdcrane@users.noreply.github.com> Date: Fri, 14 Mar 2025 13:41:52 -0700 Subject: [PATCH] Update app_defaults.php --- app/number_translations/app_defaults.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/number_translations/app_defaults.php b/app/number_translations/app_defaults.php index 3ccd87b9fe..5c2ecab04c 100644 --- a/app/number_translations/app_defaults.php +++ b/app/number_translations/app_defaults.php @@ -45,9 +45,9 @@ } //check for existing configuration - if (!empty($setting->get('switch','conf')) && file_exists($setting->get('switch','conf')."/autoload_configs/translate.conf.xml")) { + if (!empty($settings->get('switch','conf')) && file_exists($settings->get('switch','conf')."/autoload_configs/translate.conf.xml")) { //import existing data - $xml = file_get_contents($setting->get('switch','conf')."/autoload_configs/translate.conf.xml"); + $xml = file_get_contents($settings->get('switch','conf')."/autoload_configs/translate.conf.xml"); //convert the xml string to an xml object $xml = simplexml_load_string($xml);