From 1ccd0ec737a933bb5db80cf883886d9b512e3e87 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 12 Sep 2005 13:42:47 +0000 Subject: [PATCH] Bugfix --- htdocs/telephonie/tarifs/pre.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/telephonie/tarifs/pre.inc.php b/htdocs/telephonie/tarifs/pre.inc.php index abdbea95847..790f448ed25 100644 --- a/htdocs/telephonie/tarifs/pre.inc.php +++ b/htdocs/telephonie/tarifs/pre.inc.php @@ -56,10 +56,10 @@ function llxHeader($head = "", $title="") { if ($user->rights->telephonie->stats->lire) $menu->add(DOL_URL_ROOT."/telephonie/stats/", "Statistiques"); - $menu->add(DOL_URL_ROOT."/telephonie/facture/", "Factures"); + if ($user->rights->telephonie->facture->lire) + $menu->add(DOL_URL_ROOT."/telephonie/facture/", "Factures"); - if ($user->rights->telephonie->facture->lire) - $menu->add(DOL_URL_ROOT."/telephonie/tarifs/", "Tarifs"); + $menu->add(DOL_URL_ROOT."/telephonie/tarifs/", "Tarifs"); $menu->add_submenu(DOL_URL_ROOT."/telephonie/tarifs/grilles.php", "Grilles");