From 1c22b49d5a713c6eba7e7ad3e011ff2a5917ec13 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 6 Aug 2024 02:40:50 -0600 Subject: [PATCH] Pass the database object to the settings object --- resources/classes/domains.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/classes/domains.php b/resources/classes/domains.php index ad6d3259fc..fc85d60ca0 100644 --- a/resources/classes/domains.php +++ b/resources/classes/domains.php @@ -646,7 +646,7 @@ if (!class_exists('domains')) { $context = $domain_name; //get the email queue settings - $setting = new settings(["domain_uuid" => $domain_uuid]); + $setting = new settings(["database" => $this->database, "domain_uuid" => $domain_uuid]); //get the list of installed apps from the core and mod directories and run the php code in app_defaults.php $default_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_defaults.php");