From 78ae00d34279a408d41650e8d00ed2399601626a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Thu, 20 Apr 2023 22:14:02 +0200 Subject: [PATCH] add init hook --- htdocs/ecm/index_medias.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/ecm/index_medias.php b/htdocs/ecm/index_medias.php index 39118774430..a9e887a7e43 100644 --- a/htdocs/ecm/index_medias.php +++ b/htdocs/ecm/index_medias.php @@ -102,6 +102,8 @@ $websitekey = ''; $permissiontoadd = $permissiontouploadfile; // Used by the include of actions_addupdatedelete.inc.php and actions_linkedfiles +// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context +$hookmanager->initHooks(array('ecmmediascard', 'globalcard')); /* * Actions