From aed92dbe7d4c3d21b3e410b1b02a2fc9d2b797f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 24 Apr 2007 12:02:18 +0000 Subject: [PATCH 1/1] Jahresberechnung --- bin/mozilla/rp.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/mozilla/rp.pl b/bin/mozilla/rp.pl index c3117846a..56e7f49ad 100644 --- a/bin/mozilla/rp.pl +++ b/bin/mozilla/rp.pl @@ -110,9 +110,7 @@ sub report { $accrual = ($eur) ? "" : "checked"; $cash = ($eur) ? "checked" : ""; - ($null, $null, $null, $null, $null, $year, $null, $null, $null) = - localtime(); - $year += 1900; + $year = (localtime)[5] + 1900; # get departments $form->all_departments(\%myconfig); -- 2.20.1