fix typo (#35983)
This commit is contained in:
parent
ab56e3a2c1
commit
db9ac18451
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ class InterfaceWorkflowManager extends DolibarrTriggers
|
|||
$this->setErrorsFromObject($newobject);
|
||||
} else {
|
||||
if (empty($object->fk_account) && !empty($object->thirdparty->fk_account) && !getDolGlobalInt('BANK_ASK_PAYMENT_BANK_DURING_ORDER')) {
|
||||
$res = $newobject->setBankAccount($object->thirdparty->fk_account, 1, $user);
|
||||
$ret = $newobject->setBankAccount($object->thirdparty->fk_account, 1, $user);
|
||||
if ($ret < 0) {
|
||||
$this->setErrorsFromObject($newobject);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue