[freeside-commits] branch master updated. 2167ca890dab7d87e7c253834cb734ffb9d90823

Jeremy Davis jeremyd at 420.am
Mon Nov 24 10:26:10 PST 2014


The branch, master has been updated
       via  2167ca890dab7d87e7c253834cb734ffb9d90823 (commit)
      from  52013c89319153749cd7c485fa4a67a957abcf3f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2167ca890dab7d87e7c253834cb734ffb9d90823
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Mon Nov 24 13:25:58 2014 -0500

    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 41f0409..f1c376f 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'
               })
     );

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/part_export/send_email.pm |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list