mirror of https://github.com/MISP/MISP
Merge pull request #7158 from JakubOnderka/sg-user-org-id
fix: [internal] Organisation object for user is not included all timepull/7334/head
commit
f8ae2f40ae
|
@ -145,7 +145,7 @@ class SharingGroup extends AppModel
|
|||
} else {
|
||||
$ids = array_unique(array_merge(
|
||||
$this->SharingGroupServer->fetchAllAuthorised(),
|
||||
$this->SharingGroupOrg->fetchAllAuthorised($user['Organisation']['id'])
|
||||
$this->SharingGroupOrg->fetchAllAuthorised($user['org_id'])
|
||||
));
|
||||
}
|
||||
if (!empty($ids)) {
|
||||
|
|
Loading…
Reference in New Issue