Merge pull request #16278 from bafbes/abb120357

new : hook context subscriptioncard and restrictedArea block for subscriptions
This commit is contained in:
Laurent Destailleur 2021-02-14 21:53:25 +01:00 committed by GitHub
commit 4a35600e62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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