From 3bc745b40c180e7e355b7646ba659d5ca3fcb02a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 22 Dec 2004 21:30:23 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Le=20bouton=20supprimer=20a=20le=20style?= =?UTF-8?q?=20delete=20et=20l'action=20conditionn=E9e=20sur=20le=20bon=20d?= =?UTF-8?q?roit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/soc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/soc.php b/htdocs/soc.php index ccaadda7bca..41e9558fb36 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -461,9 +461,9 @@ else print ''.$langs->trans("AddContact").''; - if ($user->rights->societe->creer) + if ($user->rights->societe->supprimer) { - print ''.$langs->trans("Delete").''; + print ''.$langs->trans("Delete").''; } print ''; }