Fix remove warning

This commit is contained in:
Laurent Destailleur 2015-04-29 22:37:04 +02:00
parent cfaaf56428
commit 290856db1c

View File

@ -961,7 +961,7 @@ else
if ($id > 0)
{
$object->fetch($id);
$res=$object->fetch($id);
if ($res < 0) { dol_print_error($db,$object->error); exit; }
$res=$object->fetch_optionals($object->id,$extralabels);