mirror of https://github.com/MISP/MISP
chg: [MispObject] fix copy paste error in checkForDuplicateObjects
parent
3787e9fae3
commit
233c1f2fe9
|
@ -317,7 +317,7 @@ class MispObject extends AppModel
|
|||
}
|
||||
$newObjectAttributes[] = hash(
|
||||
'sha256',
|
||||
$attribute['object_relation'] . $attribute['category'] . $attribute['type'] . $this->data['Attribute']['value'] = $this->Attribute->modifyBeforeValidation($attribute['type'], $attribute['value'])
|
||||
$attribute['object_relation'] . $attribute['category'] . $attribute['type'] . $this->Attribute->modifyBeforeValidation($attribute['type'], $attribute['value'])
|
||||
);
|
||||
}
|
||||
$newObjectAttributeCount = count($newObjectAttributes);
|
||||
|
|
Loading…
Reference in New Issue