new : hook context subscriptioncard and restrictedArea block for subscriptions

This commit is contained in:
abb 2021-02-12 19:21:26 +01:00
parent 50797bf892
commit d92e17aabd

View File

@ -55,6 +55,10 @@ $permissionnote = $user->rights->adherent->cotisation->creer; // Used by the inc
$permissiondellink = $user->rights->adherent->cotisation->creer; // Used by the include of actions_dellink.inc.php
$permissiontoedit = $user->rights->adherent->cotisation->creer; // Used by the include of actions_lineupdonw.inc.php
$hookmanager->initHooks(array('subscriptioncard', 'globalcard'));
// Security check
$result = restrictedArea($user, 'subscription', $id, '', '', 'socid', 'rowid');
/*
* Actions