X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FCron%2Fnotify.pm;h=1859fcaf7701a7137cb73749cbf3226678d13a6a;hb=5c68c43be829fd926ea148552c6bb87cdcafd7a1;hp=3d427b234bbe085709dc76be1727d9f4de599fba;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;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',