diff --git a/htdocs/compta/param/comptes/fiche.php b/htdocs/compta/param/comptes/fiche.php
index 8a3a9a19a0b1c8d6b81365ce4100bcdf56a3728a..b1c31e542a5ea38f9e0cd70699c07686d9446ec3 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)