From: Jeremy Davis Date: Mon, 24 Nov 2014 18:25:58 +0000 (-0500) Subject: Ticket #32230 Message templates not displaying in send email export X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=2167ca890dab7d87e7c253834cb734ffb9d90823 Ticket #32230 Message templates not displaying in send email export --- diff --git a/FS/FS/part_export/send_email.pm b/FS/FS/part_export/send_email.pm index 41f04093e..f1c376fcb 100644 --- a/FS/FS/part_export/send_email.pm +++ b/FS/FS/part_export/send_email.pm @@ -20,7 +20,8 @@ my %template_select = ( %templates = (0 => '', map { $_->msgnum, $_->msgname } qsearch({ table => 'msg_template', - hashref => { disabled => 1 }, + hashref => { disabled => { 'op' => '!=', + 'value' => 1 }, order_by => 'ORDER BY msgnum ASC' }) );