mirror of https://github.com/MISP/MISP
fix: [acl] Add event to template when adding shadow attribute
parent
014035b475
commit
c8cd908c9c
|
@ -728,6 +728,7 @@ class ShadowAttributesController extends AppController
|
|||
}
|
||||
}
|
||||
}
|
||||
$this->set('event', ['Event' => $existingAttribute['Event']]);
|
||||
$this->set('categories', $categories);
|
||||
$this->__common();
|
||||
$this->set('attrDescriptions', $this->ShadowAttribute->fieldDescriptions);
|
||||
|
|
|
@ -92,9 +92,7 @@
|
|||
?>
|
||||
</div>
|
||||
<?php
|
||||
$event['Event']['id'] = $this->request->data['ShadowAttribute']['event_id'];
|
||||
echo $this->element('/genericElements/SideMenu/side_menu', array('menuList' => 'event', 'menuItem' => 'proposeAttribute', 'event' => $event));
|
||||
|
||||
echo $this->element('form_seen_input');
|
||||
?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue