projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
avoid uninitialized value errors on upgrade
[freeside.git]
/
FS
/
FS
/
Cron
/
upload.pm
diff --git
a/FS/FS/Cron/upload.pm
b/FS/FS/Cron/upload.pm
index
fa1762f
..
6a4d153
100644
(file)
--- a/
FS/FS/Cron/upload.pm
+++ b/
FS/FS/Cron/upload.pm
@@
-508,10
+508,7
@@
sub prepare_report {
(
to => $to,
(
to => $to,
- from => $conf->config('invoice_from_name', $agentnum) ?
- $conf->config('invoice_from_name', $agentnum) . ' <' .
- $conf->config('invoice_from', $agentnum) . '>' :
- $conf->config('invoice_from', $agentnum),
+ from => $conf->invoice_from_full($agentnum),
subject => $subject,
body => $body,
);
subject => $subject,
body => $body,
);