diff --git a/htdocs/adherents/card_subscriptions.php b/htdocs/adherents/card_subscriptions.php index 7e743d807d7..129fcebced4 100644 --- a/htdocs/adherents/card_subscriptions.php +++ b/htdocs/adherents/card_subscriptions.php @@ -81,7 +81,7 @@ if ($user->rights->adherent->cotisation->creer && $_POST["action"] == 'cotisatio } $cotisation=$_POST["cotisation"]; // Amount of subscription $label=$_POST["label"]; - + if (! $datecotisation) { $errmsg=$langs->trans("BadDateFormat"); @@ -91,7 +91,7 @@ if ($user->rights->adherent->cotisation->creer && $_POST["action"] == 'cotisatio { $datesubend=dol_time_plus_duree(dol_time_plus_duree($datecotisation,$defaultdelay,$defaultdelayunit),-1,'d'); } - + // Payment informations $accountid=$_POST["accountid"]; $operation=$_POST["operation"]; // Payment mode @@ -186,7 +186,7 @@ $adho->fetch_optionals(); */ $head = member_prepare_head($adh); -dol_fiche_head($head, 'subscription', $langs->trans("Member")); +dol_fiche_head($head, 'subscription', $langs->trans("Member"), 0, 'user'); print '