Skip to content
Snippets Groups Projects
Commit a8541fca authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #5315 from atm-gauthier/develop_fix_usercard_link_on_deplacement

FIX : wrong id user deplacement links
parents 64541251 b153ae8c
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ $childids[]=$user->id;
llxHeader();
$sql = "SELECT s.nom, s.rowid as socid,"; // Ou
$sql = "SELECT s.nom, d.fk_user, s.rowid as socid,"; // Ou
$sql.= " d.rowid, d.type, d.dated as dd, d.km,"; // Comment
$sql.= " d.fk_statut,";
$sql.= " u.lastname, u.firstname"; // Qui
......@@ -188,7 +188,7 @@ if ($resql)
print '<td align="center">'.dol_print_date($db->jdate($obj->dd),'day').'</td>';
// User
print '<td>';
$userstatic->id = $obj->rowid;
$userstatic->id = $obj->fk_user;
$userstatic->lastname = $obj->lastname;
$userstatic->firstname = $obj->firstname;
print $userstatic->getNomUrl(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment