mirror of https://github.com/MISP/MISP
fix: [sighting:attachOrgToSightings] Stopped double unpacking
parent
cc4a51aea4
commit
90cb068a0e
|
@ -642,8 +642,8 @@ class Sighting extends AppModel
|
|||
unset($sighting['org_id']);
|
||||
unset($sighting['Organisation']);
|
||||
} else {
|
||||
$sighting['org_id'] = $anonOrg['Organisation']['id'];
|
||||
$sighting['Organisation'] = $anonOrg['Organisation'];
|
||||
$sighting['org_id'] = $anonOrg['id'];
|
||||
$sighting['Organisation'] = $anonOrg;
|
||||
}
|
||||
}
|
||||
$sightings[$k] = $sighting;
|
||||
|
|
Loading…
Reference in New Issue