mirror of https://github.com/MISP/MISP
fix: [sharing group] saving fixed
invalid boolean operator when encoding the local orgpull/7147/head
parent
d24e2a085a
commit
ce88fd3ac2
|
@ -621,7 +621,7 @@ class SharingGroup extends AppModel
|
|||
}
|
||||
unset($sg['Organisation']);
|
||||
$creatorOrgFound = $this->captureSGOrgs($user, $sg, $sg_id, $forceUpdate);
|
||||
$creatorOrgFound = $this->captureSGServers($user, $sg, $sg_id, $forceUpdate) && $creatorOrgFound;
|
||||
$creatorOrgFound = $this->captureSGServers($user, $sg, $sg_id, $forceUpdate) || $creatorOrgFound;
|
||||
if (!$creatorOrgFound && !empty($server)) {
|
||||
$this->captureCreatorOrg($user, $sg_id);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue