mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-24 01:33:26 +01:00
Update commande.class.php
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user