From 94772dbe30b2201b6f641e68d0dcd6b5e74c2292 Mon Sep 17 00:00:00 2001 From: BENKE Charles Date: Wed, 3 Jul 2013 15:25:22 +0200 Subject: [PATCH] Update fiche.php change restricted area, too much agressive --- htdocs/comm/action/fiche.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index f9edbb47c05..59b2e6c0a80 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -56,7 +56,8 @@ $contactid=GETPOST('contactid','int'); $socid = GETPOST('socid','int'); $id = GETPOST('id','int'); if ($user->societe_id) $socid=$user->societe_id; -$result = restrictedArea($user, 'agenda', $id, 'actioncomm&societe', 'myactions&allactions', '', 'id'); +$result = restrictedArea($user,'societe',$id,'&societe'); +//$result = restrictedArea($user, 'agenda', $id, 'actioncomm&societe', 'myactions&allactions', '', 'id'); $error=GETPOST("error"); $mesg='';