From: Ivan Kohler Date: Mon, 29 Oct 2018 14:53:40 +0000 (-0700) Subject: fix missing plaintext invoice alternative, RT#81486 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=8a733ca6a964be17c14976ae0665ed84d317e42c;hp=d47a9089d83e31e89aed4e6605566f7131510ffe;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 1411019b0..df641057b 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -2269,7 +2269,7 @@ sub generate_email { if (!@text) { - if ( $conf->config($tc.'template') ) { + if ( $conf->exists($tc.'template') ) { warn "$me generating plain text invoice" if $DEBUG;