From d3f190cbf5b00f2f66d6a89a5417ae5eaba6fafc Mon Sep 17 00:00:00 2001 From: Alex <40072887+alexdcrane@users.noreply.github.com> Date: Fri, 14 Mar 2025 13:37:05 -0700 Subject: [PATCH] Update app_defaults.php --- app/modules/app_defaults.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/modules/app_defaults.php b/app/modules/app_defaults.php index bce5db02d7..70771fb38e 100644 --- a/app/modules/app_defaults.php +++ b/app/modules/app_defaults.php @@ -57,8 +57,8 @@ unset($sql, $modules, $index, $row); //use the module class to get the list of modules from the db and add any missing modules - if (!empty($setting->get('switch','mod'))) { - $module->dir = $setting->get('switch','mod'); + if (!empty($settings->get('switch','mod'))) { + $module->dir = $settings->get('switch','mod'); $module->get_modules(); $module->synch(); $module->xml();