From: Ivan Kohler Date: Mon, 29 Oct 2018 14:53:44 +0000 (-0700) Subject: fix missing plaintext invoice alternative, RT#81486 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=db3651d40f67636c6fa0dc761e189ed1eb6113e1;p=freeside.git 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;