Update commande.class.php

This commit is contained in:
Frédéric FRANCE
2022-02-15 11:02:22 +01:00
committed by GitHub
parent 11fc0da398
commit 09c9b28b57

View File

@@ -3765,7 +3765,7 @@ class Commande extends CommonOrder
}
global $action;
$hookmanager->initHooks(array('orderdao'));
$hookmanager->initHooks(array($this->element . 'dao'));
$parameters = array('id'=>$this->id, 'getnomurl'=>$result);
$reshook = $hookmanager->executeHooks('getNomUrl', $parameters, $this, $action); // Note that $action and $object may have been modified by some hooks
if ($reshook > 0) {