Merge pull request #23934 from jyhere/jyhere-patch-2

[FIX] Wrong context in product/agenda.php
This commit is contained in:
Laurent Destailleur 2023-02-16 21:00:39 +01:00 committed by GitHub
commit ab7b004f19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ if (!$sortorder) {
}
// 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('productagenda'));
$object = new Product($db);
if ($id > 0 || !empty($ref)) {