fix hookmanager

This commit is contained in:
Christophe Battarel 2022-04-27 09:40:09 +02:00
parent 543e6f186c
commit 25078b292d

View File

@ -1802,7 +1802,7 @@ class Product extends CommonObject
*/
public function getSellPrice($thirdparty_seller, $thirdparty_buyer, $pqp = 0)
{
global $conf, $db;
global $conf, $db, $hookmanager;
// call hook if any
$hookmanager->initHooks(array('productdao'));