Update send_email.lua

This commit is contained in:
FusionPBX 2018-03-24 15:16:33 -06:00 committed by GitHub
parent 65bf3fb119
commit d35b3fd002
1 changed files with 1 additions and 1 deletions

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