mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Fix condition for voicemail_transcription_enabled
This commit is contained in:
@@ -189,7 +189,7 @@ function send_email(id, uuid)
|
|||||||
sql = sql .. "WHERE (domain_uuid = :domain_uuid or domain_uuid is null) ";
|
sql = sql .. "WHERE (domain_uuid = :domain_uuid or domain_uuid is null) ";
|
||||||
sql = sql .. "AND template_language = :template_language ";
|
sql = sql .. "AND template_language = :template_language ";
|
||||||
sql = sql .. "AND template_category = 'voicemail' "
|
sql = sql .. "AND template_category = 'voicemail' "
|
||||||
if (voicemail_transcription_enabled) then
|
if (voicemail_transcription_enabled == 'true') then
|
||||||
sql = sql .. "AND template_subcategory = 'transcription' "
|
sql = sql .. "AND template_subcategory = 'transcription' "
|
||||||
else
|
else
|
||||||
sql = sql .. "AND template_subcategory = 'default' "
|
sql = sql .. "AND template_subcategory = 'default' "
|
||||||
@@ -387,3 +387,4 @@ function send_email(id, uuid)
|
|||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user