Fixed a newly introduced bug in the IOC import component

pull/762/head
iglocska 2015-11-20 01:50:10 +01:00
parent 3cc3b4f34d
commit 94072f7c60
1 changed files with 1 additions and 1 deletions

View File

@ -520,8 +520,8 @@ class IOCImportComponent extends Component {
$att1 = $this->__analyseIndicator($array[0], $id);
$att2 = $this->__analyseIndicator($array[1], $id);
$attempt = $this->__convertToCompositeAttribute($att1, $att2, $id);
$attempt['to_ids'] = $this->typeToIdsSettings[$attempt['type']];
if ($attempt) {
$attempt['to_ids'] = $this->typeToIdsSettings[$attempt['type']];
$this->saved_uuids[] = $id;
return $attempt;
}