mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user