Fix: Use last name and not name.

This commit is contained in:
Laurent Destailleur 2014-05-30 13:34:51 +02:00
parent 4a96fd0d77
commit 6b6261a803

View File

@ -76,7 +76,7 @@ foreach($fulltree as $key => $val)
$userstatic->id=$val['id'];
$userstatic->ref=$val['label'];
$userstatic->firstname=$val['firstname'];
$userstatic->lastname=$val['name'];
$userstatic->lastname=$val['lastname'];
$userstatic->statut=$val['statut'];
$li=$userstatic->getNomUrl(1,'').' ('.$val['login'].(empty($conf->multicompany->enabled)?'':' - '.$langs->trans("Instance").' '.$val['entity']).')';