diff options
author | Ivan Kohler <ivan@freeside.biz> | 2018-10-29 07:53:37 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2018-10-29 07:53:37 -0700 |
commit | a0203067acbc51046620b4eb2e6560ab727d70f5 (patch) | |
tree | 02dea59c7af275a985e5919a7179f96c1fb78009 /FS/FS | |
parent | 543d21618b4c8c55e054452cbe064bfa359d449e (diff) |
fix missing plaintext invoice alternative, RT#81486
Diffstat (limited to 'FS/FS')
-rw-r--r-- | FS/FS/Template_Mixin.pm | 2 |
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; |