From a3220562d87802e8fc15e1f14f13d2c7bbb16b39 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 11 Jan 2012 20:51:00 +0100 Subject: [PATCH] Fix: [ bug #277 ] Year dropdown in table header of supplier invoices doesn't show the current filter criteria --- htdocs/compta/facture.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 165025a9186..2687e318a4e 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -3165,10 +3165,7 @@ else print ''; print ''; print ''; - //print ' '.$langs->trans('Year').': '.$syear; - //print 'xx'.$syear.'zz'; - //if ($syear == '') $syear = date("Y"); - $htmlother->select_year($syear?$syear:-1,'year',1, 20, 5); + $htmlother->select_year($year?$year:-1,'year',1, 20, 5); print ''; print ' '; print '';