fix: [sync] Fixed a blocking bug preventing a full push from working with sharing group events

pull/3910/head
iglocska 2018-11-23 16:21:48 +01:00
parent 86a028adb3
commit 2aeafd8b79
1 changed files with 1 additions and 1 deletions

View File

@ -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) {