Merge pull request #12283 from frederic34/socid

replace deprecated user->societe_id by user->socid
This commit is contained in:
Laurent Destailleur
2019-11-02 13:34:21 +01:00
committed by GitHub
497 changed files with 877 additions and 877 deletions

View File

@@ -1746,7 +1746,7 @@ abstract class CommonObject
// Security on socid
$socid = 0;
if ($user->societe_id > 0) $socid = $user->societe_id;
if ($user->socid > 0) $socid = $user->socid;
// this->ismultientitymanaged contains
// 0=No test on entity, 1=Test with field entity, 2=Test with link by societe