[freeside-commits] branch FREESIDE_3_BRANCH updated. 551dddefa220742f64e4f0e423d683a63b901f72

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


The branch, FREESIDE_3_BRANCH has been updated
       via  551dddefa220742f64e4f0e423d683a63b901f72 (commit)
      from  abc56e03d9cff03757f9a2f8a3d8f35e97cbb7c5 (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 551dddefa220742f64e4f0e423d683a63b901f72
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Mon Nov 24 13:26:51 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