fix: minor typo

pull/6118/head
Christophe Vandeplas 2020-07-14 14:20:20 +02:00 committed by GitHub
parent 8bbce5bdf8
commit 1c3898c2b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ class UserSettingsController extends AppController
public function setHomePage()
{
if (!$this->request->is('post')) {
throw new MethodNotAllowedException(__('This endpoint only aaccepts POST requests.'));
throw new MethodNotAllowedException(__('This endpoint only accepts POST requests.'));
}
if (empty($this->request->data['path'])) {
$this->request->data = array('path' => $this->request->data);