Follow up : MT1902

aaa8d0c80c
This fixes the loop with dates with was using implicit variable
This commit is contained in:
Henri-Damien LAURENT 2009-11-11 15:36:00 +01:00
parent 72d91ac361
commit 27460a7ab4
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ my ($user, $sessionID, $flags);
# 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{$_}) if $_ && $$subs{$_};
$$subs{$date} = format_date($$subs{$date}) if $date && $$subs{$date};
}
$subs->{abouttoexpire} = abouttoexpire($subs->{subscriptionid});