Fix: Missing extrafields

This commit is contained in:
Laurent Destailleur 2012-05-09 16:02:26 +02:00
parent 49c7a1f2b4
commit d53a56f13f

View File

@ -819,8 +819,8 @@ if ($action == 'edit')
$res=$object->fetch($rowid);
if ($res < 0) { dol_print_error($db,$object->error); exit; }
//$res=$object->fetch_optionals($object->id,$extralabels);
//if ($res < 0) { dol_print_error($db); exit; }
$res=$object->fetch_optionals($object->id,$extralabels);
if ($res < 0) { dol_print_error($db); exit; }
$adht = new AdherentType($db);
$adht->fetch($object->typeid);
@ -1052,7 +1052,6 @@ if ($rowid && $action != 'edit')
/* */
/* ************************************************************************** */
//$object = new Adherent($db);
$res=$object->fetch($rowid);
if ($res < 0) { dol_print_error($db,$object->error); exit; }
$res=$object->fetch_optionals($object->id,$extralabels);