mirror of https://github.com/MISP/MISP
Merge branch 'hotfix-2.2.31'
commit
a2acf61e33
|
@ -930,7 +930,7 @@ class EventsController extends AppController {
|
|||
}
|
||||
if (!$this->_isSiteAdmin()) {
|
||||
$this->Event->read();
|
||||
if (!$this->Event->data['Event']['orgc'] == $this->_checkOrg()) {
|
||||
if ($this->Event->data['Event']['orgc'] != $this->_checkOrg()) {
|
||||
throw new MethodNotAllowedException();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue