Error management

This commit is contained in:
Laurent Destailleur 2017-09-03 04:16:43 +02:00
parent ca93be5eed
commit e549e6cde1
2 changed files with 3 additions and 3 deletions

View File

@ -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");