diff --git a/htdocs/telephonie/contrat/pre.inc.php b/htdocs/telephonie/contrat/pre.inc.php index 79534436af1..21688492128 100644 --- a/htdocs/telephonie/contrat/pre.inc.php +++ b/htdocs/telephonie/contrat/pre.inc.php @@ -39,7 +39,8 @@ function llxHeader($head = "", $title="") { $menu->add(DOL_URL_ROOT."/telephonie/index.php", "Telephonie"); - $menu->add(DOL_URL_ROOT."/telephonie/simulation/fiche.php", "Simulation"); + if (TELEPHONIE_MODULE_SIMULATION == 1) + $menu->add(DOL_URL_ROOT."/telephonie/simulation/fiche.php", "Simulation"); $menu->add(DOL_URL_ROOT."/telephonie/tarifs/", "Tarifs");