X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2Fmsg_template.pm;h=e47776c867b6cda2e8256815ff09a0a8ab93c17b;hb=5957841fbf624c00f64cb25ebaa55a4dc8c9e36c;hp=50efcdb61b9b94c3e5c2e345473ce3b6fce7bc7d;hpb=1fd786ff9c487e5458ad728a07de8bf952b1b315;p=freeside.git diff --git a/FS/FS/msg_template.pm b/FS/FS/msg_template.pm index 50efcdb61..e47776c86 100644 --- a/FS/FS/msg_template.pm +++ b/FS/FS/msg_template.pm @@ -652,8 +652,7 @@ sub _upgrade_data { my $new = new FS::msg_template({ 'msgname' => $oldname, 'agentnum' => $agentnum, - 'from_addr' => ($from && $conf->config($from, $agentnum)) || - $conf->config('invoice_from', $agentnum), + 'from_addr' => ($from && $conf->config($from, $agentnum)) || '', 'bcc_addr' => ($bcc && $conf->config($from, $agentnum)) || '', 'subject' => ($subject && $conf->config($subject, $agentnum)) || '', 'mime_type' => 'text/html',