This commit is contained in:
Laurent Destailleur
2025-12-04 21:58:10 +01:00
parent 810ac047dc
commit 8b51ff85fd
2 changed files with 3 additions and 1 deletions

View File

@@ -12713,6 +12713,7 @@ function printCommonFooter($zone = 'private')
$parameters = array('zone' => $zone);
$tmpobject = null;
// @phan-suppress-next-line PhanPluginConstantVariableNull
$reshook = $hookmanager->executeHooks('printCommonFooter', $parameters, $tmpobject, $action); // Note that $action and $object may have been modified by some hooks
if (empty($reshook)) {
if (getDolGlobalString('MAIN_HTML_FOOTER')) {

View File

@@ -458,7 +458,8 @@ function calcul_price_total($qty, $pu, $remise_percent_ligne, $txtva, $uselocalt
// Allow an external module to bypass the calculation of prices
$parameters = array('result' => $result);
$tmpobject = null; $tmpaction = '';
$tmpobject = null;
$tmpaction = '';
// @phan-suppress-next-line PhanPluginConstantVariableNull
$reshook = $hookmanager->executeHooks('calcul_price_total', $parameters, $tmpobject, $tmpaction); // @phan-suppress-current-line PhanPluginConstantVariableNull
if ($reshook > 0 && !empty($hookmanager->resArray['result'])) {