fix: Fixed an invalid uuid in the object reference

pull/2517/head
iglocska 2017-09-27 14:59:10 +02:00
parent 616fc0f9a2
commit 63e934824c
1 changed files with 1 additions and 1 deletions

View File

@ -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')
));