X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FCron%2Fnotify.pm;h=1859fcaf7701a7137cb73749cbf3226678d13a6a;hb=c3d33450dd1d457bc8b8c008fe17ffc9128201b1;hp=3d427b234bbe085709dc76be1727d9f4de599fba;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git diff --git a/FS/FS/Cron/notify.pm b/FS/FS/Cron/notify.pm index 3d427b234..1859fcaf7 100644 --- a/FS/FS/Cron/notify.pm +++ b/FS/FS/Cron/notify.pm @@ -72,7 +72,7 @@ END $where_pkg .= < $msgnum }); $cust_main->setfield('packages', \\@packages); $cust_main->setfield('recurdates', \\@recurdates); - $error = $msg_template->send('cust_main' => $cust_main); + $error = $msg_template->send('cust_main' => $cust_main, + 'object' => $cust_main); } else { $error = $cust_main->notify( 'impending_recur_template',