From 27460a7ab4a1c08e3ee1a40bc1fdbfcd4feb7d82 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Wed, 11 Nov 2009 15:36:00 +0100 Subject: [PATCH] Follow up : MT1902 aaa8d0c80c893dbd92ced6c933263002cf6b048b This fixes the loop with dates with was using implicit variable --- serials/subscription-detail.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serials/subscription-detail.pl b/serials/subscription-detail.pl index 9e358a2305..0b8e57975d 100755 --- a/serials/subscription-detail.pl +++ b/serials/subscription-detail.pl @@ -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}); -- 2.39.5