fix email category mispelling (#7280)

This commit is contained in:
chansizzle
2025-02-28 17:22:22 -07:00
committed by GitHub
parent b4de6f5e4b
commit e4ddb4561e

View File

@@ -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;