summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-10-29 07:53:37 -0700
committerIvan Kohler <ivan@freeside.biz>2018-10-29 07:53:37 -0700
commita0203067acbc51046620b4eb2e6560ab727d70f5 (patch)
tree02dea59c7af275a985e5919a7179f96c1fb78009 /FS/FS
parent543d21618b4c8c55e054452cbe064bfa359d449e (diff)
fix missing plaintext invoice alternative, RT#81486
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/Template_Mixin.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index 34e9e6e..9320e90 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;