mirror of https://github.com/MISP/MISP
chg: [MispObject] fix copy paste error in editObject
parent
3787e9fae3
commit
d1556d21b3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue