mirror of https://github.com/MISP/MISP
Fixes #5244.
AttributeController->addTag was searching for attribute id without flattening.pull/5247/head
parent
4dc72ede36
commit
297be2ab31
|
@ -3067,6 +3067,7 @@ class AttributesController extends AppController
|
|||
$this->Auth->user(),
|
||||
array(
|
||||
'conditions' => array('Attribute.id' => $id, 'Attribute.deleted' => 0),
|
||||
'flatten' => 1,
|
||||
'contain' => array('Event.orgc_id')
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue