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:
frytimo 2025-01-24 18:57:15 -04:00 committed by GitHub
parent ba1dc820eb
commit 4b75567ad8
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);