Merge branch 'dev_EventOrganizer' of github.com:DorianVabre/dolibarr into dev_EventOrganizer_payment
This commit is contained in:
commit
58abeb1e1e
@ -206,7 +206,6 @@ if (empty($reshook) && $action == 'add') {
|
|||||||
$error++;
|
$error++;
|
||||||
$errmsg .= $thirdparty->error;
|
$errmsg .= $thirdparty->error;
|
||||||
$readythirdparty = -1;
|
$readythirdparty = -1;
|
||||||
|
|
||||||
} elseif ($resultfetchthirdparty==0) {
|
} elseif ($resultfetchthirdparty==0) {
|
||||||
// creation of a new thirdparty
|
// creation of a new thirdparty
|
||||||
$thirdparty->name = $nomsociete;
|
$thirdparty->name = $nomsociete;
|
||||||
@ -237,7 +236,6 @@ if (empty($reshook) && $action == 'add') {
|
|||||||
}
|
}
|
||||||
$thirdparty->code_client = $tmpcode;
|
$thirdparty->code_client = $tmpcode;
|
||||||
$readythirdparty = $thirdparty->create($user);
|
$readythirdparty = $thirdparty->create($user);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// We have an existing thirdparty ready to use
|
// We have an existing thirdparty ready to use
|
||||||
$readythirdparty = 1;
|
$readythirdparty = 1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user