diff --git a/htdocs/contact/document.php b/htdocs/contact/document.php index 6cf3daf5caddb282cd16210e9f42c2d32004de32..70f4410cf7de318cd5526f19b66c095b75279a5b 100644 --- a/htdocs/contact/document.php +++ b/htdocs/contact/document.php @@ -39,7 +39,7 @@ $confirm = GETPOST('confirm', 'alpha'); // Security check if ($user->societe_id) $socid=$user->societe_id; -$result = restrictedArea($user, 'contact', $id, '',''); +$result = restrictedArea($user, 'contact', $id, 'socpeople&societe'); // Get parameters $sortfield = GETPOST("sortfield",'alpha');