FIX : forgotten parameter for right multicompany use

This commit is contained in:
gauthier 2017-04-11 11:33:05 +02:00
parent b970596310
commit 30d58f77db

View File

@ -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');