Fix regression on email templates show text

Didn't realize there are still valid reasons and people that like text based email. For this reason filtering out text based email type has been removed.
This commit is contained in:
FusionPBX
2026-05-22 20:10:56 +00:00
committed by GitHub
parent afceedd4cf
commit af9796faf7
-1
View File
@@ -163,7 +163,6 @@
$sql .= "template_description "; $sql .= "template_description ";
$sql .= "from v_email_templates "; $sql .= "from v_email_templates ";
$sql .= "where true "; $sql .= "where true ";
$sql .= "and template_type = 'html' ";
if (!empty($template_language)) { if (!empty($template_language)) {
$sql .= "and template_language = :template_language "; $sql .= "and template_language = :template_language ";
$parameters['template_language'] = $template_language; $parameters['template_language'] = $template_language;