diff options
author | mark <mark> | 2010-11-18 18:55:23 +0000 |
---|---|---|
committer | mark <mark> | 2010-11-18 18:55:23 +0000 |
commit | 8f5f809741306a125e6289d672038e907d3b3243 (patch) | |
tree | 650ba00a797810314b0155c80a877436ef0b1f10 | |
parent | c3b0a747c51e78d31417038c7e6435162c0522fa (diff) |
fix svc_acct welcome message, RT#10268
-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) |