mirror of https://github.com/MISP/MISP
Typo, fixes #632
parent
e7b54c2c61
commit
291ebc8393
|
@ -2847,7 +2847,7 @@ class EventsController extends AppController {
|
|||
$tag_id = $tag['Tag']['id'];
|
||||
}
|
||||
if (!is_numeric($id)) $id = $this->request->data['Event']['id'];
|
||||
$this->Event->recurisve = -1;
|
||||
$this->Event->recursive = -1;
|
||||
$event = $this->Event->read(array('id', 'org', 'orgc', 'distribution'), $id);
|
||||
// org should allow to tag too, so that an event that gets pushed can be tagged locally by the owning org
|
||||
if ((($this->Auth->user('org') !== $event['Event']['org'] && $this->Auth->user('org') !== $event['Event']['orgc'] && $event['Event']['distribution'] == 0) || (!$this->userRole['perm_tagger'])) && !$this->_isSiteAdmin()) {
|
||||
|
|
Loading…
Reference in New Issue