diff options
-rw-r--r-- | FS/FS/svc_acct.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 94a839bd4..f2b13c312 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -749,7 +749,8 @@ sub insert { my $msgnum = $conf->config('welcome_msgnum', $agentnum); if ( $msgnum ) { my $msg_template = qsearchs('msg_template', { msgnum => $msgnum }); - $error = $msg_template->send('cust_main' => $cust_main); + $error = $msg_template->send('cust_main' => $cust_main, + 'object' => $self); } else { #!$msgnum my ($to,$welcome_template,$welcome_from,$welcome_subject,$welcome_subject_template,$welcome_mimetype) |