diff --git a/htdocs/compta/charges/index.php b/htdocs/compta/charges/index.php index 0950ad023aa..f5f94874bbb 100644 --- a/htdocs/compta/charges/index.php +++ b/htdocs/compta/charges/index.php @@ -28,12 +28,11 @@ $user->getrights('compta'); if (!$user->admin && !$user->rights->compta->charges) accessforbidden(); - $year=$_GET["year"]; $filtre=$_GET["filtre"]; +if (! $year) { $year=date("Y", time()); } - -print_titre("Charges - Résumé".($year > 0?" $year":"")); +print_fiche_titre("Charges",($year?"".img_previous()." Année $year ".img_next()."":"")); print "
"; print '';