replace deprecated user->societe_id by user->socid

This commit is contained in:
Frédéric FRANCE
2019-10-31 20:46:31 +01:00
parent 607c38775d
commit e93aaa2a75
506 changed files with 887 additions and 887 deletions

View File

@@ -45,9 +45,9 @@ $id = GETPOST('id', 'int');
$ref = GETPOST('ref');
// Security check
if ($user->societe_id)
if ($user->socid)
{
$socid = $user->societe_id;
$socid = $user->socid;
}
$result=restrictedArea($user, 'commande', $id, '');