Update fournisseur.commande.class.php

This commit is contained in:
Laurent Destailleur 2021-06-05 01:04:09 +02:00 committed by GitHub
parent 779c868eae
commit 6ae4a75ac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -749,8 +749,8 @@ class CommandeFournisseur extends CommonOrder
$statusLong = $langs->transnoentitiesnoconv($this->statuts[$status]).$billedtext;
$statusShort = $langs->transnoentitiesnoconv($this->statutshort[$status]);
$parameters = array('status' => $status, 'mode' => $mode, 'billed' => $billed, 'obj'=>$this);
$reshook = $hookmanager->executeHooks('LibStatut', $parameters, $object); // Note that $action and $object may have been modified by hook
$parameters = array('status' => $status, 'mode' => $mode, 'billed' => $billed);
$reshook = $hookmanager->executeHooks('LibStatut', $parameters, $this); // Note that $action and $object may have been modified by hook
if ($reshook > 0) {
return $hookmanager->resPrint;
}