[freeside-commits] freeside/FS/FS msg_template.pm,1.24,1.25

Mark Wells mark at wavetail.420.am
Mon Dec 5 17:44:50 PST 2011


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv4921/FS/FS

Modified Files:
	msg_template.pm 
Log Message:
empty From address in default message templates, #15448

Index: msg_template.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/msg_template.pm,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -w -d -r1.24 -r1.25
--- msg_template.pm	30 Oct 2011 23:28:16 -0000	1.24
+++ msg_template.pm	6 Dec 2011 01:44:48 -0000	1.25
@@ -652,8 +652,7 @@
         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',



More information about the freeside-commits mailing list