mirror of https://github.com/MISP/MISP
Merge pull request #7342 from Wachizungu/fix-checkForDuplicateObjects-typo
chg: [MispObject] fix copy paste error in checkForDuplicateObjectspull/7355/head
commit
5b8afa1a4f
|
@ -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