diff --git a/htdocs/index.php b/htdocs/index.php index e356d9433a4..efcd24e7811 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -145,7 +145,7 @@ if ($user->societe_id == 0) ! empty($conf->propal->enabled) && $user->rights->propale->lire, ! empty($conf->commande->enabled) && $user->rights->commande->lire, ! empty($conf->facture->enabled) && $user->rights->facture->lire, - ! empty($conf->societe->enabled) && $user->rights->contrat->activer); + ! empty($conf->contrat->enabled) && $user->rights->contrat->activer); // Class file containing the method load_state_board for each line $includes=array(DOL_DOCUMENT_ROOT."/societe/class/client.class.php", DOL_DOCUMENT_ROOT."/comm/prospect/class/prospect.class.php",