mirror of https://github.com/MISP/MISP
fix: [galaxyCluster] Allow forks with same name to appear in the picker
parent
bdbed2946f
commit
6f2217bde5
|
@ -401,7 +401,7 @@ class GalaxiesController extends AppController
|
|||
}
|
||||
$cluster['GalaxyCluster']['synonyms_string'] = implode(', ', $cluster['GalaxyCluster']['synonyms_string']);
|
||||
unset($cluster['GalaxyElement']);
|
||||
$clusters[$cluster['GalaxyCluster']['type']][$cluster['GalaxyCluster']['value']] = $cluster['GalaxyCluster'];
|
||||
$clusters[$cluster['GalaxyCluster']['type']][$cluster['GalaxyCluster']['uuid']] = $cluster['GalaxyCluster'];
|
||||
}
|
||||
ksort($clusters);
|
||||
$this->set('target_id', $target_id);
|
||||
|
|
Loading…
Reference in New Issue