Merge pull request #24594 from frederic34/patch-1

add missing init hook value
This commit is contained in:
Laurent Destailleur 2023-04-26 22:08:43 +02:00 committed by GitHub
commit 7253b30716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ if (!$sortorder) {
$object = new Societe($db);
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
$hookmanager->initHooks(array('agendathirdparty'));
$hookmanager->initHooks(array('agendathirdparty', 'globalcard'));
// Security check
$socid = GETPOST('socid', 'int');