From ebee927cbf59de777cb3364cb821231fdbe1579a Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Sun, 23 Jul 2006 23:16:04 +0000
Subject: [PATCH] =?UTF-8?q?New:=20Les=20fonctions=20de=20saisie/consultati?=
 =?UTF-8?q?on=20des=20charges=20sociales=20et=20impots=20sont=20mis=20dans?=
 =?UTF-8?q?=20un=20module=20=E0=20part=20nomm=E9=20'Taxes=20et=20charges?=
 =?UTF-8?q?=20sociales'.=20En=20effet=20ces=20fonctions=20ne=20sont=20pas?=
 =?UTF-8?q?=20des=20fonctions=20de=20compta=20pure=20mais=20des=20fonction?=
 =?UTF-8?q?s=20de=20tr=E9soreries.=20Ceci=20afin=20d'avoir=20une=20meilleu?=
 =?UTF-8?q?r=20ind=E9pendance=20du=20module=20compta.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 htdocs/compta/pre.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/compta/pre.inc.php b/htdocs/compta/pre.inc.php
index 436e7e3db89..9ca104cf59f 100644
--- a/htdocs/compta/pre.inc.php
+++ b/htdocs/compta/pre.inc.php
@@ -126,7 +126,7 @@ function llxHeader($head = "", $title="", $help_url='')
 
     if ($conf->compta->enabled)
     {
-    	if ($user->rights->compta->ventilation->parametrer)
+    	if ($user->rights->compta->ventilation->creer)
 		{
 	    	$menu->add(DOL_URL_ROOT."/compta/ventilation/",$langs->trans("Ventilation"));
 		}
-- 
GitLab