diff --git a/htdocs/hrm/employee/list.php b/htdocs/hrm/employee/list.php index 46c59e90937..86e1f3d10d5 100644 --- a/htdocs/hrm/employee/list.php +++ b/htdocs/hrm/employee/list.php @@ -169,8 +169,8 @@ if ($result) $employeestatic->email=$obj->email; $employeestatic->gender=$obj->gender; $employeestatic->societe_id=$obj->fk_soc; - $userstatic->firstname=$obj->firstname; - $userstatic->lastname=$obj->lastname; + $employeestatic->firstname=$obj->firstname; + $employeestatic->lastname=$obj->lastname; $li=$employeestatic->getNomUrl(1,'',0,0,24,1); @@ -203,8 +203,7 @@ if ($result) print ''; // Statut - $employeestatic->statut=$obj->statut; - print ''.$employeestatic->getLibStatut(5).''; + print ''.$employeestatic->getLibStatut(5).''; print ' '; print "\n"; $i++;