Use lowercase matching domain name #7230

When the domain name has upper and lower case letters. The domain UUID results in not found in app/provision
This commit is contained in:
FusionPBX 2025-01-24 16:03:53 -07:00 committed by GitHub
parent d77b69b4d5
commit 965b245794
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@
//get the domain_uuid
$sql = "select domain_uuid from v_domains ";
$sql .= "where domain_name = :domain_name ";
$sql .= "where lower(domain_name) = lower(:domain_name) ";
$parameters['domain_name'] = $domain_name;
$domain_uuid = $database->select($sql, $parameters, 'column');
unset($sql, $parameters);