mirror of https://github.com/MISP/MISP
fix: [sync] Fixed a blocking bug preventing a full push from working with sharing group events
parent
86a028adb3
commit
2aeafd8b79
|
@ -2242,7 +2242,7 @@ class Server extends AppModel
|
|||
}
|
||||
$sgs = $this->Event->SharingGroup->find('all', array(
|
||||
'recursive' => -1,
|
||||
'contain' => array('Organisation', 'SharingGroupOrg', 'SharingGroupServer')
|
||||
'contain' => array('Organisation', 'SharingGroupOrg' => array('Organisation'), 'SharingGroupServer')
|
||||
));
|
||||
$sgIds = array();
|
||||
foreach ($sgs as $k => $sg) {
|
||||
|
|
Loading…
Reference in New Issue