Merge branch '2.4' of github.com:MISP/MISP into 2.4

pull/7369/head
Alexandre Dulaunoy 2021-04-21 16:51:41 +02:00
commit bcf128c442
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ class FeedsController extends AppController
} else {
$message = __('Feed could not be updated. Reason: %s', json_encode($this->Feed->validationErrors));
if ($this->_isRest()) {
return $this->RestResponse->saveFailResponse('Feeds', 'add', false, $message, $this->response->type());
return $this->RestResponse->saveFailResponse('Feeds', 'edit', false, $message, $this->response->type());
}
$this->Flash->error($message);
}