summaryrefslogtreecommitdiff
path: root/FS/FS/cust_credit.pm
diff options
context:
space:
mode:
authorivan <ivan>2009-02-09 14:05:31 +0000
committerivan <ivan>2009-02-09 14:05:31 +0000
commita4b8ce8cd1d309de00c64f38049a8dda38798046 (patch)
tree8c36c37a563900083468912ebeb373da39c59cca /FS/FS/cust_credit.pm
parent9925a640ebd475bf260b4d9e065b3f01e929e20a (diff)
rest of per-agent config for company_name, company_address, logo, etc.. RT#3989
Diffstat (limited to 'FS/FS/cust_credit.pm')
-rw-r--r--FS/FS/cust_credit.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/cust_credit.pm b/FS/FS/cust_credit.pm
index 99c63cb7f..47a8119ee 100644
--- a/FS/FS/cust_credit.pm
+++ b/FS/FS/cust_credit.pm
@@ -229,7 +229,8 @@ sub delete {
my $cust_main = $self->cust_main;
my $error = send_email(
- 'from' => $conf->config('invoice_from'), #??? well as good as any
+ 'from' => $conf->config('invoice_from', $self->cust_main->agentnum),
+ #invoice_from??? well as good as any
'to' => $conf->config('deletecredits'),
'subject' => 'FREESIDE NOTIFICATION: Credit deleted',
'body' => [