Merge pull request #7342 from Wachizungu/fix-checkForDuplicateObjects-typo

chg: [MispObject] fix copy paste error in checkForDuplicateObjects
pull/7355/head
Andras Iklody 2021-04-19 22:41:45 +02:00 committed by GitHub
commit 5b8afa1a4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);