Update commande.class.php
This commit is contained in:
parent
11fc0da398
commit
09c9b28b57
@ -3765,7 +3765,7 @@ class Commande extends CommonOrder
|
|||||||
}
|
}
|
||||||
|
|
||||||
global $action;
|
global $action;
|
||||||
$hookmanager->initHooks(array('orderdao'));
|
$hookmanager->initHooks(array($this->element . 'dao'));
|
||||||
$parameters = array('id'=>$this->id, 'getnomurl'=>$result);
|
$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
|
$reshook = $hookmanager->executeHooks('getNomUrl', $parameters, $this, $action); // Note that $action and $object may have been modified by some hooks
|
||||||
if ($reshook > 0) {
|
if ($reshook > 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user