diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php index 75d83704891..4929fe7a4ff 100644 --- a/htdocs/admin/dict.php +++ b/htdocs/admin/dict.php @@ -306,7 +306,7 @@ $tabcond[19]= ! empty($conf->societe->enabled); $tabcond[20]= ! empty($conf->fournisseur->enabled); $tabcond[21]= ! empty($conf->propal->enabled); $tabcond[22]= (! empty($conf->commande->enabled) || ! empty($conf->propal->enabled)); -$tabcond[23]= (! empty($conf->comptabilite->enabled) || ! empty($conf->accounting->enabled)); +$tabcond[23]= (! empty($conf->global->ACCOUNTING_USEDICTTOEDIT) && ! empty($conf->accounting->enabled)); // The accountancy plan should be edited with specific pages. You can set ACCOUNTING_USEDICTTOEDIT to 1 if you want to use dictionnary editor. // List of help for fields $tabhelp=array();