diff --git a/htdocs/adherents/subscription/card.php b/htdocs/adherents/subscription/card.php index d4396cefb00..c2e2bfd1d44 100644 --- a/htdocs/adherents/subscription/card.php +++ b/htdocs/adherents/subscription/card.php @@ -58,7 +58,8 @@ $permissiontoedit = $user->rights->adherent->cotisation->creer; // Used by the i $hookmanager->initHooks(array('subscriptioncard', 'globalcard')); // Security check -$result = restrictedArea($user, 'subscription', $id, '', '', 'socid', 'rowid'); +$result = restrictedArea($user, 'subscription', 0); // TODO Check on object id + /* * Actions