Fix: lien incorrecte

This commit is contained in:
Regis Houssin 2005-12-01 10:54:31 +00:00
parent 113546030a
commit 3b1559fee9

View File

@ -507,7 +507,7 @@ else
{
$societe = new Societe($db);
$societe->fetch($fuser->societe_id);
print '<a href="'.DOL_URL_ROOT.'/soc.php?id='.$fuser->societe_id.'">'.img_object($langs->trans("ShowCompany"),'company').' '.dolibarr_trunc($societe->nom,32).'</a>';
print '<a href="'.DOL_URL_ROOT.'/soc.php?socid='.$fuser->societe_id.'">'.img_object($langs->trans("ShowCompany"),'company').' '.dolibarr_trunc($societe->nom,32).'</a>';
if ($fuser->contact_id)
{
$contact = new Contact($db);