Update send_email.lua

This commit is contained in:
FusionPBX
2018-03-24 15:16:33 -06:00
committed by GitHub
parent a1c7d1c8c2
commit 3fb1e146ba

View File

@@ -123,7 +123,7 @@
local sql = "SELECT * FROM v_email_templates ";
sql = sql .. "WHERE (domain_uuid = :domain_uuid or domain_uuid is null) ";
sql = sql .. "AND template_language = :template_language ";
sql = sql .. "AND template_category = 'email' "
sql = sql .. "AND template_category = 'voicemail' "
if (transcription == nil) then
sql = sql .. "AND template_subcategory = 'default' "
else