Fix: bad error management

This commit is contained in:
Laurent Destailleur 2012-06-06 23:06:17 +02:00
parent 23dea40504
commit f575dd4ae5

View File

@ -354,7 +354,7 @@ if (empty($reshook))
else
{
$db->rollback();
dol_print_error($object->db);
dol_print_error($db,$object->error);
}
}
}
@ -362,7 +362,7 @@ if (empty($reshook))
else
{
$db->rollback();
dol_print_error($object->db);
dol_print_error($db,$object->error);
}
}
}