Merge pull request #5265 from atm-ph/fix_3.8_soc.php_with_wrong_id

Fix #4632
This commit is contained in:
Laurent Destailleur 2016-06-03 23:43:54 +02:00
commit d20d88e1af

View File

@ -1863,7 +1863,7 @@ else
/*
* View
*/
$res=$object->fetch_optionals($object->id,$extralabels);
if (!empty($object->id)) $res=$object->fetch_optionals($object->id,$extralabels);
//if ($res < 0) { dol_print_error($db); exit; }