Fix: Bad link
This commit is contained in:
parent
6646901072
commit
83d9bdc382
@ -912,7 +912,7 @@ else
|
|||||||
{
|
{
|
||||||
$societe = new Societe($db);
|
$societe = new Societe($db);
|
||||||
$societe->fetch($fuser->societe_id);
|
$societe->fetch($fuser->societe_id);
|
||||||
print '<a href="'.DOL_URL_ROOT.'/soc.php?socid='.$fuser->societe_id.'">'.img_object($langs->trans("ShowCompany"),'company').' '.dolibarr_trunc($societe->nom,32).'</a>';
|
print $societe->getNomUrl(1,'');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1317,7 +1317,7 @@ else
|
|||||||
{
|
{
|
||||||
$societe = new Societe($db);
|
$societe = new Societe($db);
|
||||||
$societe->fetch($fuser->societe_id);
|
$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 $societe->getNomUrl(1,'');
|
||||||
if ($fuser->contact_id)
|
if ($fuser->contact_id)
|
||||||
{
|
{
|
||||||
$contact = new Contact($db);
|
$contact = new Contact($db);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user