mirror of https://github.com/MISP/MISP
fix: [ClusterRelationsGraphTool] Inject Orgs and SharingGroup info for
referencing nodespull/6120/head
parent
3bc2b2c50a
commit
77c4eb2795
|
@ -74,7 +74,8 @@
|
|||
$referencingClusterId = $relation['GalaxyClusterRelation']['galaxy_cluster_id'];
|
||||
if (!isset($this->lookup[$referencingClusterId])) {
|
||||
$referencedCluster = $this->GalaxyCluster->fetchGalaxyClusters($this->user, array(
|
||||
'conditions' => array('GalaxyCluster.id' => $referencingClusterId)
|
||||
'conditions' => array('GalaxyCluster.id' => $referencingClusterId),
|
||||
'contain' => array('Org', 'Orgc', 'SharingGroup'),
|
||||
));
|
||||
$this->lookup[$referencingClusterId] = !empty($referencedCluster) ? $referencedCluster[0] : array();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue