mirror of https://github.com/MISP/MISP
fix: [internal] Typo in attribute controller
parent
69997028e3
commit
3ac15c2f7e
|
@ -2798,8 +2798,8 @@ class AttributesController extends AppController
|
|||
$attribute = $this->Attribute->find('first', [
|
||||
'recursive' => -1,
|
||||
'conditions' => ['Attribute.id' => $id],
|
||||
'fields' => ['Attribute.deleted', 'Attribute.event_id', 'Attribute.id', 'Attribute.object_id'],
|
||||
'contains' => ['Event'],
|
||||
'fields' => ['Attribute.deleted', 'Attribute.event_id', 'Attribute.id', 'Attribute.object_id', 'Event.orgc_id', 'Event.user_id'],
|
||||
'contain' => ['Event'],
|
||||
]);
|
||||
if (empty($attribute)) {
|
||||
throw new NotFoundException(__('Invalid attribute'));
|
||||
|
|
Loading…
Reference in New Issue