mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 18:53:49 +00:00
Change dbh to db to fix an error seen in the logs.
This commit is contained in:
@@ -18,7 +18,7 @@ if (err == 'NOT FOUND') then
|
||||
sql = "select default_setting_value from v_default_settings "
|
||||
sql = sql .. "where default_setting_category = 'email' ";
|
||||
sql = sql .. "and default_setting_subcategory = 'method' ";
|
||||
email_method = dbh:first_value(sql, nil);
|
||||
email_method = db:first_value(sql, nil);
|
||||
if (email_method) then
|
||||
local ok, err = cache.set(email_method_key, email_method, expire["dialplan"]);
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user