From a0203067acbc51046620b4eb2e6560ab727d70f5 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 29 Oct 2018 07:53:37 -0700 Subject: [PATCH] fix missing plaintext invoice alternative, RT#81486 --- FS/FS/Template_Mixin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index 34e9e6ef8..9320e9033 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -2268,7 +2268,7 @@ sub generate_email { if (!@text) { - if ( $conf->config($tc.'template') ) { + if ( $conf->exists($tc.'template') ) { warn "$me generating plain text invoice" if $DEBUG; -- 2.11.0