diff options
| author | ivan <ivan> | 2009-12-20 01:02:53 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2009-12-20 01:02:53 +0000 |
| commit | 6c7a5399878b6cd3531842340c56cf814b9cc1a2 (patch) | |
| tree | dc2b9665b5d938402b93c5fabca8a6aa0f0e3985 /httemplate/view/cust_main/packages.html | |
| parent | 9b350e0965755e59d39637f75a9bce11d0a1cca7 (diff) | |
fix cust_main-packages-years, RT#6798
Diffstat (limited to 'httemplate/view/cust_main/packages.html')
| -rwxr-xr-x | httemplate/view/cust_main/packages.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html index bd056a31c..31aa262f4 100755 --- a/httemplate/view/cust_main/packages.html +++ b/httemplate/view/cust_main/packages.html @@ -217,8 +217,7 @@ sub get_packages { unless ( $cgi->param('showoldpackages') ) { my $years = $conf->config('cust_main-packages-years') || 2; - my $seconds = 31556926; #60*60*24*365.2422 is close enough - my $then = time - $seconds; + my $then = time - $years * 31556926; #60*60*24*365.2422 is close enough my %hide = ( 'cancelled' => 'cancel', 'one-time charge' => 'setup', |
