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 '';