mirror of https://github.com/MISP/MISP
fix: Fixed an invalid uuid in the object reference
parent
616fc0f9a2
commit
63e934824c
|
@ -53,7 +53,7 @@ class ObjectReferencesController extends AppController {
|
|||
}
|
||||
$referenced_type = 1;
|
||||
$target_object = $this->ObjectReference->Object->find('first', array(
|
||||
'conditions' => array('Object.uuid' => $this->request->data['ObjectReference']['uuid']),
|
||||
'conditions' => array('Object.uuid' => $this->request->data['ObjectReference']['object_uuid']),
|
||||
'recursive' => -1,
|
||||
'fields' => array('Object.id', 'Object.uuid', 'Object.event_id')
|
||||
));
|
||||
|
|
Loading…
Reference in New Issue