chg: [MispObject] fix copy paste error in editObject

pull/7343/head
Jeroen Pinoy 2021-04-15 04:49:03 -07:00
parent 3787e9fae3
commit d1556d21b3
No known key found for this signature in database
GPG Key ID: DF33A50B8E4EE081
1 changed files with 2 additions and 2 deletions

View File

@ -1056,8 +1056,8 @@ class MispObject extends AppModel
'email' => $user['email'],
'action' => 'edit',
'user_id' => $user['id'],
'title' => 'Attribute dropped due to validation for Event ' . $eventId . ' failed: ' . $object['name'],
'change' => 'Validation errors: ' . json_encode($this->validationErrors) . ' Full Object: ' . json_encode($attribute),
'title' => 'Object dropped due to validation for Event ' . $eventId . ' failed: ' . $object['name'],
'change' => 'Validation errors: ' . json_encode($this->validationErrors) . ' Full Object: ' . json_encode($object),
));
return $this->validationErrors;
}