mirror of https://github.com/MISP/MISP
chg: [distributionNetwork] Filter out organisations not being marked as
local. Fix #4568pull/4577/head
parent
d1a83a833f
commit
93673b4d4c
|
@ -83,6 +83,7 @@
|
|||
// community
|
||||
$orgs = $this->__organisationModel->find('list', array(
|
||||
'fields' => array('name'),
|
||||
'conditions' => array('local' => true)
|
||||
));
|
||||
$thisOrg = $this->__user['Organisation']['name'];
|
||||
$this->__addAdditionalDistributionInfo(1, $thisOrg); // add current community
|
||||
|
|
Loading…
Reference in New Issue