diff --git a/htdocs/compta/bank/config.php b/htdocs/compta/bank/config.php index f8fe9b8fbaa..9daf4272eb2 100644 --- a/htdocs/compta/bank/config.php +++ b/htdocs/compta/bank/config.php @@ -30,10 +30,7 @@ require("./pre.inc.php"); require("./bank.lib.php"); -$user->getrights('compta'); -$user->getrights('banque'); - -if (!$user->rights->compta->banque->configurer) +if (!$user->rights->banque->configurer) accessforbidden(); llxHeader();