chg: [distributionNetwork] Filter out organisations not being marked as

local. Fix #4568
pull/4577/head
mokaddem 2019-05-03 15:32:02 +02:00
parent d1a83a833f
commit 93673b4d4c
1 changed files with 1 additions and 0 deletions

View File

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