From 64fd1a5e543333d1c4efb538381230e97de64228 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 5 Feb 2024 18:56:03 -0700 Subject: [PATCH] Bug Fix: Use the HTTP_HOST if the domain_uuid is empty --- app/provision/index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/provision/index.php b/app/provision/index.php index e19ffa8ec7..20de9e4517 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]; @@ -533,3 +533,5 @@ ?> + +