From 51f402605a8742284f81d1097f3e6df29ee6e2dc Mon Sep 17 00:00:00 2001 From: mark Date: Wed, 1 Sep 2010 17:50:54 +0000 Subject: make expdate available in new alerter templates, RT#9786 --- FS/FS/Cron/alert_expiration.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'FS/FS/Cron') diff --git a/FS/FS/Cron/alert_expiration.pm b/FS/FS/Cron/alert_expiration.pm index 364fc60..eb53ea8 100644 --- a/FS/FS/Cron/alert_expiration.pm +++ b/FS/FS/Cron/alert_expiration.pm @@ -99,6 +99,7 @@ sub alert_expiration { my $msgnum = $conf->config('alerter_msgnum', $agentnum); if ( $msgnum ) { # new hotness my $msg_template = qsearchs('msg_template', { msgnum => $msgnum } ); + $customer->setfield('expdate', $expire_time); $error = $msg_template->send('cust_main' => $customer); } else { #!$msgnum, the hard way -- cgit v1.1