fix: [enrichment] Fixed variable name typo

pull/4349/head
chrisr3d 2019-03-20 11:18:22 +01:00
parent a70ef74dfd
commit 465e69f84b
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -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'])) {