X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fmsg_template.pm;h=f45fb2aef0a7f71bfb915e038f42cd3229b7610f;hb=f79a7ca7e5b3e484646190e15f995b9779089ff0;hp=65890e12552e50adb7a4b979652f659c98de16a3;hpb=7b777a5bf7fcdb0f966e3789e00f646febedc60c;p=freeside.git diff --git a/FS/FS/msg_template.pm b/FS/FS/msg_template.pm index 65890e125..f45fb2aef 100644 --- a/FS/FS/msg_template.pm +++ b/FS/FS/msg_template.pm @@ -398,8 +398,7 @@ sub prepare { $from_addr = scalar( $conf->config($opt{'from_config'}, $cust_main->agentnum) ); } - $from_addr ||= scalar( $conf->config('invoice_from', - $cust_main->agentnum) ); + $from_addr ||= $conf->invoice_from_full($cust_main->agentnum); } # my @cust_msg = (); # if ( $conf->exists('log_sent_mail') and !$opt{'preview'} ) {