summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Davis <jeremyd@freeside.biz>2014-11-24 13:25:58 -0500
committerJeremy Davis <jeremyd@freeside.biz>2014-11-24 13:25:58 -0500
commit2167ca890dab7d87e7c253834cb734ffb9d90823 (patch)
tree2e8274520ae4f12079802ca2f212d27ace2585c9
parent52013c89319153749cd7c485fa4a67a957abcf3f (diff)
Ticket #32230 Message templates not displaying in send email export
-rw-r--r--FS/FS/part_export/send_email.pm3
1 files changed, 2 insertions, 1 deletions
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'
})
);