mirror of https://github.com/MISP/MISP
fix: [internal] sharing_group graph missing org_ids - throwing notices
parent
9d537c989a
commit
8b318320f7
|
@ -207,7 +207,7 @@ class SharingGroup extends AppModel
|
|||
$sgs = $this->find('all', array(
|
||||
'contain' => ['SharingGroupOrg' => ['org_id']],
|
||||
'conditions' => $conditions,
|
||||
'fields' => ['SharingGroup.id', 'SharingGroup.name'],
|
||||
'fields' => ['SharingGroup.id', 'SharingGroup.name', 'SharingGroup.org_id'],
|
||||
'order' => 'SharingGroup.name ASC'
|
||||
));
|
||||
return $this->appendOrgsAndServers($sgs, ['id', 'name'], []);
|
||||
|
|
Loading…
Reference in New Issue