summaryrefslogtreecommitdiff
path: root/FS/FS/cust_pkg.pm
diff options
context:
space:
mode:
authorivan <ivan>2007-09-07 03:45:16 +0000
committerivan <ivan>2007-09-07 03:45:16 +0000
commitf9d1a71899dd7d2600584aa8e06a08293b7783f7 (patch)
tree673d6c5fed5d607820826469359eb1264a2a703a /FS/FS/cust_pkg.pm
parent7dda9d81f13c733358d4b68d538434350696e969 (diff)
default cancellation subject so the emails work even when people don't set one in config
Diffstat (limited to 'FS/FS/cust_pkg.pm')
-rw-r--r--FS/FS/cust_pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index c411fb3..77438c1 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -552,7 +552,7 @@ sub cancel {
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?