diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-11 15:23:12 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-10-11 15:23:12 +0200 |
commit | 83c78bc7a899e08e9f0c2d3c99ca7736673226cd (patch) | |
tree | 7230253c05f66c550083494b5a0d03cbd2cca1d7 /apps | |
parent | 39d710e737da31111f62b44abf30b0be95246c99 (diff) | |
download | nextcloud-server-83c78bc7a899e08e9f0c2d3c99ca7736673226cd.tar.gz nextcloud-server-83c78bc7a899e08e9f0c2d3c99ca7736673226cd.zip |
fix typo in error message and change error code to 403
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_encryption/files/error.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_encryption/files/error.php b/apps/files_encryption/files/error.php index b59b7b8e672..b55ddfab027 100644 --- a/apps/files_encryption/files/error.php +++ b/apps/files_encryption/files/error.php @@ -18,7 +18,7 @@ if (!isset($_)) { //also provide standalone error page $errorMsg = $l->t('Can not decrypt this file, probably this is a shared file. Please ask the file owner to reshare the file with you.'); break; default: - $errorMsg = $l->t("Unknwon error please check your system settings or contact your administrator"); + $errorMsg = $l->t("Unknown error please check your system settings or contact your administrator"); break; } } else { @@ -27,7 +27,7 @@ if (!isset($_)) { //also provide standalone error page } if (isset($_GET['p']) && $_GET['p'] === '1') { - header('HTTP/1.0 404 ' . $errorMsg); + header('HTTP/1.0 403 ' . $errorMsg); } // check if ajax request |