From 54091a066187b0e9d1dc227569184b3681cc0797 Mon Sep 17 00:00:00 2001 From: aspangaro Date: Wed, 11 Nov 2015 15:31:39 +0100 Subject: [PATCH] Correct getNomUrl --- htdocs/hrm/employee/list.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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++;