Fix: Bad link
This commit is contained in:
parent
549b7a655b
commit
9e5cad2c47
@ -229,7 +229,7 @@ print_liste_field_titre($langs->trans("OtherStatistics"),$_SERVER["PHP_SELF"],""
|
||||
print "</tr>\n";
|
||||
$var=true;
|
||||
|
||||
if (sizeof($amount))
|
||||
if (count($amount))
|
||||
{
|
||||
$arrayforsort=$name;
|
||||
|
||||
@ -287,9 +287,9 @@ if (sizeof($amount))
|
||||
|
||||
// Other stats
|
||||
print '<td align="center">';
|
||||
if ($conf->propal->enabled && $key>0) print ' <a href="'.DOL_URL_ROOT.'/comm/propal/stats/index.php?userid='.$key.'">'.img_picto($langs->trans("ProposalStats"),"stats").'</a> ';
|
||||
if ($conf->commande->enabled && $key>0) print ' <a href="'.DOL_URL_ROOT.'/commande/stats/index.php?userid='.$key.'">'.img_picto($langs->trans("OrderStats"),"stats").'</a> ';
|
||||
if ($conf->facture->enabled && $key>0) print ' <a href="'.DOL_URL_ROOT.'/compta/facture/stats/index.php?userid='.$key.'">'.img_picto($langs->trans("InvoiceStats"),"stats").'</a> ';
|
||||
if ($conf->propal->enabled && $key>0) print ' <a href="'.DOL_URL_ROOT.'/comm/propal/stats/index.php?socid='.$key.'">'.img_picto($langs->trans("ProposalStats"),"stats").'</a> ';
|
||||
if ($conf->commande->enabled && $key>0) print ' <a href="'.DOL_URL_ROOT.'/commande/stats/index.php?socid='.$key.'">'.img_picto($langs->trans("OrderStats"),"stats").'</a> ';
|
||||
if ($conf->facture->enabled && $key>0) print ' <a href="'.DOL_URL_ROOT.'/compta/facture/stats/index.php?socid='.$key.'">'.img_picto($langs->trans("InvoiceStats"),"stats").'</a> ';
|
||||
print '</td>';
|
||||
|
||||
print "</tr>\n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user