Bug Fix: Use the HTTP_HOST if the domain_uuid is empty

This commit is contained in:
FusionPBX
2024-02-05 18:56:03 -07:00
committed by GitHub
parent d3c05bae43
commit 64fd1a5e54

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];
@@ -533,3 +533,5 @@
?>