mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
Fix CI
This commit is contained in:
@@ -12713,6 +12713,7 @@ function printCommonFooter($zone = 'private')
|
|||||||
|
|
||||||
$parameters = array('zone' => $zone);
|
$parameters = array('zone' => $zone);
|
||||||
$tmpobject = null;
|
$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
|
$reshook = $hookmanager->executeHooks('printCommonFooter', $parameters, $tmpobject, $action); // Note that $action and $object may have been modified by some hooks
|
||||||
if (empty($reshook)) {
|
if (empty($reshook)) {
|
||||||
if (getDolGlobalString('MAIN_HTML_FOOTER')) {
|
if (getDolGlobalString('MAIN_HTML_FOOTER')) {
|
||||||
|
|||||||
@@ -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
|
// Allow an external module to bypass the calculation of prices
|
||||||
$parameters = array('result' => $result);
|
$parameters = array('result' => $result);
|
||||||
$tmpobject = null; $tmpaction = '';
|
$tmpobject = null;
|
||||||
|
$tmpaction = '';
|
||||||
// @phan-suppress-next-line PhanPluginConstantVariableNull
|
// @phan-suppress-next-line PhanPluginConstantVariableNull
|
||||||
$reshook = $hookmanager->executeHooks('calcul_price_total', $parameters, $tmpobject, $tmpaction); // @phan-suppress-current-line PhanPluginConstantVariableNull
|
$reshook = $hookmanager->executeHooks('calcul_price_total', $parameters, $tmpobject, $tmpaction); // @phan-suppress-current-line PhanPluginConstantVariableNull
|
||||||
if ($reshook > 0 && !empty($hookmanager->resArray['result'])) {
|
if ($reshook > 0 && !empty($hookmanager->resArray['result'])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user