mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 09:08:09 +01:00
Fix duplicate <a>
This commit is contained in:
@@ -311,13 +311,9 @@ if ($result)
|
||||
print '</a>';
|
||||
}
|
||||
else if ($links[$key]['type']=='company') {
|
||||
print '<a href="'.DOL_URL_ROOT.'/societe/soc.php?socid='.$links[$key]['url_id'].'">';
|
||||
//print img_object($langs->trans('ShowCompany'),'company').' ';
|
||||
$societe=new Societe($db);
|
||||
$societe->fetch($links[$key]['url_id']);
|
||||
//print $links[$key]['label'];
|
||||
print $societe->getNomUrl(1);
|
||||
print '</a>';
|
||||
}
|
||||
else if ($links[$key]['type']=='sc') {
|
||||
print '<a href="'.DOL_URL_ROOT.'/compta/sociales/card.php?id='.$links[$key]['url_id'].'">';
|
||||
|
||||
Reference in New Issue
Block a user