fix email category mispelling (#7280)
This commit is contained in:
parent
b4de6f5e4b
commit
e4ddb4561e
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue