Fix: bad error management

This commit is contained in:
Laurent Destailleur 2012-06-06 23:05:59 +02:00
parent 06442f4755
commit 407978991c

View File

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