From 167480801f938b021e2b06113cf9284bd3b6895b Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 6 Dec 2011 01:45:12 +0000 Subject: [PATCH] empty From address in default message templates, #15448 --- FS/FS/msg_template.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/FS/FS/msg_template.pm b/FS/FS/msg_template.pm index 614c90fc2..1c458a090 100644 --- a/FS/FS/msg_template.pm +++ b/FS/FS/msg_template.pm @@ -635,8 +635,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', -- 2.11.0