Bug Fix: Use the HTTP_HOST if the domain_uuid is empty

This commit is contained in:
FusionPBX
2024-02-05 18:58:16 -07:00
committed by GitHub
parent ebb68cccf5
commit f97a67fb27

View File

@@ -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 @@
}
?>