summaryrefslogtreecommitdiffstats
path: root/lib/files.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/files.php')
-rw-r--r--lib/files.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files.php b/lib/files.php
index e12797bd610..15bfbc3fc29 100644
--- a/lib/files.php
+++ b/lib/files.php
@@ -100,7 +100,7 @@ class OC_Files {
$filename = $dir . '/' . $files;
}
OC_Util::obEnd();
- if($zip or \OC\Files\Filesystem::is_readable($filename)) {
+ if ($zip or \OC\Files\Filesystem::isReadable($filename)) {
if ( preg_match( "/MSIE/", $_SERVER["HTTP_USER_AGENT"] ) ) {
header( 'Content-Disposition: attachment; filename="' . rawurlencode( basename($filename) ) . '"' );
} else {