mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 17:13:03 +01:00
Merge pull request #12283 from frederic34/socid
replace deprecated user->societe_id by user->socid
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user