mirror of https://github.com/MISP/MISP
Merge remote-tracking branch 'origin/2.4' into develop
commit
6a51b6fd56
|
@ -395,7 +395,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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue