FIX #6270
This commit is contained in:
parent
c1d6ad90b3
commit
7ebb5f7d92
@ -337,6 +337,8 @@ if (($action == 'send' || $action == 'relance') && ! $_POST['addfile'] && ! $_PO
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Initialisation of datas
|
// Initialisation of datas
|
||||||
|
if (is_object($object))
|
||||||
|
{
|
||||||
$object->socid = $sendtosocid; // To link to a company
|
$object->socid = $sendtosocid; // To link to a company
|
||||||
$object->sendtoid = $sendtoid; // To link to a contact/address
|
$object->sendtoid = $sendtoid; // To link to a contact/address
|
||||||
$object->actiontypecode = $actiontypecode;
|
$object->actiontypecode = $actiontypecode;
|
||||||
@ -354,6 +356,7 @@ if (($action == 'send' || $action == 'relance') && ! $_POST['addfile'] && ! $_PO
|
|||||||
$error++; $errors=$interface->errors;
|
$error++; $errors=$interface->errors;
|
||||||
}
|
}
|
||||||
// End call of triggers
|
// End call of triggers
|
||||||
|
}
|
||||||
|
|
||||||
if ($error)
|
if ($error)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user