chg: [MispObject] fix copy paste error in checkForDuplicateObjects

pull/7342/head
Jeroen Pinoy 2021-04-15 04:39:47 -07:00
parent 3787e9fae3
commit 233c1f2fe9
No known key found for this signature in database
GPG Key ID: DF33A50B8E4EE081
1 changed files with 1 additions and 1 deletions

View File

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