From f97a67fb27430eae237de08b1992e088012dee5d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 5 Feb 2024 18:58:16 -0700 Subject: [PATCH] Bug Fix: Use the HTTP_HOST if the domain_uuid is empty --- app/provision/index.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/provision/index.php b/app/provision/index.php index e19ffa8ec7..c29c1481c8 100644 --- a/app/provision/index.php +++ b/app/provision/index.php @@ -177,7 +177,7 @@ unset($sql, $parameters); //get the domain_name and domain_uuid - if ($_SESSION['provision']['http_domain_filter']['boolean'] == "true") { + if (empty($domain_uuid)) { //get the domain_name $domain_array = explode(":", $_SERVER["HTTP_HOST"]); $domain_name = $domain_array[0]; @@ -531,5 +531,3 @@ } ?> - -