From 2278d80a3053e890f49ed58b4aac8f8e0d0cab47 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 9 Sep 2005 23:53:28 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20bug=20#14475=20overview:=20utilisateur?= =?UTF-8?q?=20qui=20a=20tous=20les=20droits=20recoit=20un=20message=20non?= =?UTF-8?q?=20autoris=E9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/clients.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/clients.php b/htdocs/compta/clients.php index fd87776e8db..5c22f5e8ab5 100644 --- a/htdocs/compta/clients.php +++ b/htdocs/compta/clients.php @@ -18,7 +18,6 @@ * * $Id$ * $Source$ - * */ /** @@ -30,7 +29,9 @@ require_once("./pre.inc.php"); -if (!$user->rights->societe->lire) +$user->getrights("societe"); + +if (! $user->rights->societe->lire) accessforbidden(); require_once(DOL_DOCUMENT_ROOT."/contact.class.php");