Merge remote-tracking branch 'origin/2.4' into develop

pull/7365/head
mokaddem 2021-04-21 15:22:31 +02:00
commit 6a51b6fd56
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}