# COMMENT hdl : IMHO, we should think about passing more and more data hash to template->param rather than duplicating code a new coding Guideline ?
for my $date qw(startdate enddate firstacquidate histstartdate histenddate){
- $$subs{$_} = format_date($$subs{$_});
+ $$subs{$_} = format_date($$subs{$_}) if $_ && $$subs{$_};
}
$subs->{abouttoexpire} = abouttoexpire($subs->{subscriptionid});