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").''; }