diff --git a/htdocs/societe/agenda.php b/htdocs/societe/agenda.php index 3c033a9f80e..c3c84178719 100644 --- a/htdocs/societe/agenda.php +++ b/htdocs/societe/agenda.php @@ -37,7 +37,7 @@ $mesg=isset($_GET["mesg"])?'
'.$_GET["mesg"].'
':''; // Security check $socid = GETPOST('socid','int'); if ($user->societe_id) $socid=$user->societe_id; -$result = restrictedArea($user, 'societe', $socid); +$result = restrictedArea($user, 'societe', $socid, '&societe'); /*