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

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);