mirror of https://github.com/MISP/MISP
fix: [feed preview] fixed exception thrown to invalid threat level listing call
parent
7424cbf73b
commit
40af102e2b
|
@ -814,7 +814,7 @@ class FeedsController extends AppController
|
|||
$this->set($alias, $currentModel->{$variable});
|
||||
}
|
||||
}
|
||||
$this->set('threatLevels', $this->Event->ThreatLevel->list());
|
||||
$this->set('threatLevels', $this->Event->ThreatLevel->find('list'));
|
||||
} else {
|
||||
if ($event === 'blocked') {
|
||||
throw new MethodNotAllowedException(__('This event is blocked by the Feed filters.'));
|
||||
|
|
Loading…
Reference in New Issue