Error management
This commit is contained in:
parent
ca93be5eed
commit
e549e6cde1
@ -206,7 +206,7 @@ if ($id > 0 && empty($object->id))
|
|||||||
{
|
{
|
||||||
// Load data of third party
|
// Load data of third party
|
||||||
$res=$object->fetch($id);
|
$res=$object->fetch($id);
|
||||||
if ($object->id <= 0) dol_print_error($db,$object->error);
|
if ($object->id <= 0) dol_print_error($db,$object->error,$object->errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
$title=$langs->trans("CustomerCard");
|
$title=$langs->trans("CustomerCard");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user