mirror of https://github.com/MISP/MISP
sync & code
a new NameController() needs $Name->constructClasses(). odd this ever did work before (CakePHP 2.2.2 versus 2.2.3 diff?).pull/63/head
parent
5a35e1a918
commit
b00cc0e8b2
|
@ -250,6 +250,7 @@ class ServersController extends AppController {
|
|||
}
|
||||
}
|
||||
$eventsController = new EventsController();
|
||||
$eventsController->constructClasses();
|
||||
try {
|
||||
$result = $eventsController->_add($event, $this->Auth, $fromXml = true, $this->Server->data['Server']['organization']);
|
||||
} catch (MethodNotAllowedException $e) {
|
||||
|
|
Loading…
Reference in New Issue