From 538c0ffc50b2314749bac0d7c63bfef74e8b1b15 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 2 Dec 2005 13:16:26 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20permissions=20sur=20cr=E9ation=20et=20s?= =?UTF-8?q?uppression=20des=20contacts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/soc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/soc.php b/htdocs/soc.php index 9f9482ee095..b2f78a313ba 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -2,7 +2,8 @@ /* Copyright (C) 2001-2005 Rodolphe Quiedeville * Copyright (C) 2003 Brian Fraval * Copyright (C) 2004-2005 Laurent Destailleur - * Copyright (C) 2005 Eric Seigne + * Copyright (C) 2005 Eric Seigne + * Copyright (C) 2005 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -839,7 +840,7 @@ else print ''.$langs->trans("AddProject").''; } - if ($user->rights->societe->creer) + if ($user->rights->societe->contact->creer) { print ''.$langs->trans("AddContact").''; }