better rix
This commit is contained in:
parent
a5e195d1c7
commit
b0641e6d69
@ -2317,8 +2317,9 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
$this->actionmsg2 = $comment;
|
$this->actionmsg2 = $comment;
|
||||||
|
|
||||||
// Call trigger
|
// Call trigger
|
||||||
$result += $this->call_trigger('ORDER_SUPPLIER_RECEIVE', $user);
|
$result_trigger = $this->call_trigger('ORDER_SUPPLIER_RECEIVE', $user);
|
||||||
if ($result < 0) $error++;
|
if ($result_trigger < 0) $error++;
|
||||||
|
else $result += (int) $result_trigger;
|
||||||
// End call triggers
|
// End call triggers
|
||||||
|
|
||||||
if (empty($error))
|
if (empty($error))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user