From 55069c5a9f922bc9bee493f27403322187d692d8 Mon Sep 17 00:00:00 2001
From: Regis Houssin <regis@dolibarr.fr>
Date: Mon, 17 Dec 2007 02:57:31 +0000
Subject: [PATCH] Fix: probleme de droit

---
 htdocs/compta/param/comptes/fiche.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/htdocs/compta/param/comptes/fiche.php b/htdocs/compta/param/comptes/fiche.php
index 8a3a9a19a0b..b1c31e542a5 100644
--- a/htdocs/compta/param/comptes/fiche.php
+++ b/htdocs/compta/param/comptes/fiche.php
@@ -30,6 +30,8 @@
 
 require("./pre.inc.php");
 
+$user->getrights("compta");
+
 $mesg = '';
 
 if ($_POST["action"] == 'add' && $user->rights->compta->ventilation->parametrer)
-- 
GitLab