diff --git a/htdocs/adherents/card_subscriptions.php b/htdocs/adherents/card_subscriptions.php index 98d624566a4..bdef412fcb7 100644 --- a/htdocs/adherents/card_subscriptions.php +++ b/htdocs/adherents/card_subscriptions.php @@ -449,7 +449,7 @@ if ($action == 'addsubscription' && $user->rights->adherent->cotisation->creer) print ''.$langs->trans("Label").''; print 'datefin?$adh->datefin:time())).'" >'; + print strftime("%Y",($datefrom?$datefrom:time())).'" >'; } print ''.$langs->trans("SendAcknowledgementByMail").'';