Update product.lib.php

This commit is contained in:
Laurent Destailleur 2021-06-11 19:33:07 +02:00 committed by GitHub
parent 37ebedcafa
commit 5d2f5b2305
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -560,7 +560,7 @@ function show_stats_for_company($product, $socid)
print '</tr>';
}
$parameters = array('socid'=>$socid);
$reshook = $hookmanager->executeHooks('addmoreproductstat', $parameters, $product, $nblines); // Note that $action and $object may have been modified by some hooks
$reshook = $hookmanager->executeHooks('addMoreProductStat', $parameters, $product, $nblines); // Note that $action and $object may have been modified by some hooks
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
print $hookmanager->resPrint;