mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
fix email category mispelling (#7280)
This commit is contained in:
@@ -94,7 +94,7 @@ local sql = "SELECT * FROM v_email_templates ";
|
||||
sql = sql .. "WHERE template_category = :category ";
|
||||
sql = sql .. "AND template_subcategory = :subcategory ";
|
||||
sql = sql .. "AND template_enabled = :status ";
|
||||
local params = {category = 'plugins', subcategory = 'emergency', status = 'true'}
|
||||
local params = {category = 'plugin', subcategory = 'emergency', status = 'true'}
|
||||
dbh:query(sql, params, function(row)
|
||||
subject = row.template_subject;
|
||||
body = row.template_body;
|
||||
|
||||
Reference in New Issue
Block a user