From a08606f456d368abd0e36fe21002c1686a9a30bc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 26 Aug 2012 18:54:34 +0200 Subject: [PATCH] Add constant because such table should be edited with a specific page (that does not exist yet, but that should exists as soon as someone works on it). --- htdocs/admin/dict.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();