[freeside-commits] freeside/FS/FS cust_pkg.pm,1.73.2.8,1.73.2.9
Ivan,,,
ivan at wavetail.420.am
Thu Sep 6 20:45:20 PDT 2007
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv10564
Modified Files:
Tag: FREESIDE_1_7_BRANCH
cust_pkg.pm
Log Message:
default cancellation subject so the emails work even when people don't set one in config
Index: cust_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pkg.pm,v
retrieving revision 1.73.2.8
retrieving revision 1.73.2.9
diff -u -d -r1.73.2.8 -r1.73.2.9
--- cust_pkg.pm 10 Aug 2007 07:02:25 -0000 1.73.2.8
+++ cust_pkg.pm 7 Sep 2007 03:45:18 -0000 1.73.2.9
@@ -523,7 +523,7 @@
my $error = send_email(
'from' => $conf->config('invoice_from'),
'to' => \@invoicing_list,
- 'subject' => $conf->config('cancelsubject'),
+ 'subject' => ( $conf->config('cancelsubject') || 'Cancellation Notice' ),
'body' => [ map "$_\n", $conf->config('cancelmessage') ],
);
#should this do something on errors?
More information about the freeside-commits
mailing list