mirror of https://github.com/MISP/MISP
fix: small fix to a missing ajax check
- ajax forms opened full screen look badpull/2547/head
parent
1b30913d66
commit
17592a4f27
|
@ -209,6 +209,7 @@ class ObjectReferencesController extends AppController {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
if (!$this->request->is('ajax')) throw new MethodNotAllowedException('This action is only accessible via POST request.');
|
||||
$this->set('hard', $hard);
|
||||
$this->set('id', $id);
|
||||
$this->set('event_id', $objectReference['Object']['Event']['id']);
|
||||
|
|
Loading…
Reference in New Issue