mirror of https://github.com/MISP/MISP
fix: [breakOnDuplicate] invalid placement return, affects #6917
- as reported by @github-germpull/6976/head
parent
2b5b5f97de
commit
a335dff2e2
|
@ -912,8 +912,8 @@ class MispObject extends AppModel
|
|||
'title' => 'Object dropped due to it being a duplicate and breakOnDuplicate being requested for Event ' . $eventId,
|
||||
'change' => 'Duplicate object found.',
|
||||
));
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
if (empty($log)) {
|
||||
$log = ClassRegistry::init('Log');
|
||||
|
|
Loading…
Reference in New Issue