mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 18:53:49 +00:00
Use the correct database connection object.
This commit is contained in:
@@ -103,7 +103,7 @@
|
||||
if (domain_name == nil) then
|
||||
sql = "SELECT domain_name FROM v_domains ";
|
||||
sql = sql .. "WHERE domain_uuid = '" .. domain_uuid .. "' ";
|
||||
status = dbh_switch:query(sql, function(row)
|
||||
status = dbh:query(sql, function(row)
|
||||
domain_name = row["domain_name"];
|
||||
end);
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user