[freeside-commits] branch FREESIDE_3_BRANCH updated. db3651d40f67636c6fa0dc761e189ed1eb6113e1

Ivan Kohler ivan at freeside.biz
Mon Oct 29 07:53:48 PDT 2018


The branch, FREESIDE_3_BRANCH has been updated
       via  db3651d40f67636c6fa0dc761e189ed1eb6113e1 (commit)
      from  89b3eb89b0b824a4811b2c65829273991bd1bae4 (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 db3651d40f67636c6fa0dc761e189ed1eb6113e1
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Oct 29 07:53:44 2018 -0700

    fix missing plaintext invoice alternative, RT#81486

diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index b22748a4d..14999933c 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -2246,7 +2246,7 @@ sub generate_email {
 
   if (!@text) {
 
-    if ( $conf->config($tc.'template') ) {
+    if ( $conf->exists($tc.'template') ) {
 
       warn "$me generating plain text invoice"
         if $DEBUG;

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

Summary of changes:
 FS/FS/Template_Mixin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list