diff options
author | ivan <ivan> | 2007-09-07 03:45:16 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-09-07 03:45:16 +0000 |
commit | f9d1a71899dd7d2600584aa8e06a08293b7783f7 (patch) | |
tree | 673d6c5fed5d607820826469359eb1264a2a703a /FS/FS/cust_pkg.pm | |
parent | 7dda9d81f13c733358d4b68d538434350696e969 (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.pm | 2 |
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? |