mirror of https://github.com/MISP/MISP
fix: [enrichment] Fixed variable name typo
parent
a70ef74dfd
commit
465e69f84b
|
@ -5072,7 +5072,7 @@ class EventsController extends AppController
|
|||
}
|
||||
$data = json_encode($data);
|
||||
$result = $this->Module->queryModuleServer('/query', $data, false, $type);
|
||||
if (!result) {
|
||||
if (!$result) {
|
||||
throw new MethodNotAllowedException(__('%s service not reachable.', $type));
|
||||
}
|
||||
if (isset($result['error'])) {
|
||||
|
|
Loading…
Reference in New Issue