[freeside-commits] branch master updated. 57bdfd4f7e70cab525c9a4bce7f26015517a81ed

Ivan ivan at 420.am
Thu Dec 4 16:09:12 PST 2014


The branch, master has been updated
       via  57bdfd4f7e70cab525c9a4bce7f26015517a81ed (commit)
      from  fcb230261cbd138c1869f6db4a443ac7ae2a98a1 (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 57bdfd4f7e70cab525c9a4bce7f26015517a81ed
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Dec 4 16:09:10 2014 -0800

    fix to be how we always search for un-disabled things, RT#32230

diff --git a/FS/FS/part_export/send_email.pm b/FS/FS/part_export/send_email.pm
index 3e51422..537a562 100644
--- a/FS/FS/part_export/send_email.pm
+++ b/FS/FS/part_export/send_email.pm
@@ -17,13 +17,13 @@ my %template_select = (
     $templates{$_[0]};
   },
   option_values => sub {
-    %templates = (0 => '',
+    %templates = (
+      0 => '',
       map { $_->msgnum, $_->msgname } 
-      qsearch({ table => 'msg_template',
-                hashref => { disabled => { 'op'    => '!=',
-                                           'value' => 1 }},
-                order_by => 'ORDER BY msgnum ASC'
-              })
+        qsearch({ table    => 'msg_template',
+                  hashref  => { disabled => '', },
+                  order_by => 'ORDER BY msgnum ASC'
+                })
     );
     sort keys (%templates);
   },

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

Summary of changes:
 FS/FS/part_export/send_email.pm |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)




More information about the freeside-commits mailing list