summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/exe/fetch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/fetch.php b/lib/exe/fetch.php
index 81a8903c9..968ee9436 100644
--- a/lib/exe/fetch.php
+++ b/lib/exe/fetch.php
@@ -176,7 +176,7 @@ function checkFileStatus(&$media, &$file) {
//check permissions (namespace only)
if(auth_quickaclcheck(getNS($media).':X') < AUTH_READ){
- return array( 401, 'Unauthorized' );
+ return array( 403, 'Forbidden' );
}
$file = mediaFN($media);
}