From dbfc6d0715e8f07a11b24b2b010e4a9e05251d2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Thu, 20 Apr 2023 22:12:56 +0200 Subject: [PATCH] add hooks in ecm card --- htdocs/ecm/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php index 6f4b9577c92..7e4e76080f8 100644 --- a/htdocs/ecm/index.php +++ b/htdocs/ecm/index.php @@ -89,6 +89,8 @@ $permissiontocreatedir = $user->hasRight('ecm', 'setup'); $permissiontodelete = $user->hasRight('ecm', 'upload'); $permissiontodeletedir = $user->hasRight('ecm', 'setup'); +// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context +$hookmanager->initHooks(array('ecmindexcard', 'globalcard')); /* * Actions