summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-29 17:09:22 +0200
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-29 17:09:22 +0200
commitefa30850736411414d7297970de72cf144fb5f0b (patch)
treebf561908f470f15566366ae82b7722df3908512c /lib
parent281b2187abac07826c3231816d9d4746ae2c0e91 (diff)
downloadnextcloud-server-efa30850736411414d7297970de72cf144fb5f0b.tar.gz
nextcloud-server-efa30850736411414d7297970de72cf144fb5f0b.zip
fixed picture preview broken for some, thanks to Felix on Shapado
Diffstat (limited to 'lib')
-rw-r--r--lib/files.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files.php b/lib/files.php
index dd74b086705..f1789d9c7ac 100644
--- a/lib/files.php
+++ b/lib/files.php
@@ -143,7 +143,7 @@ class OC_Files {
header("HTTP/1.0 403 Forbidden");
die('403 Forbidden');
}
- ob_end_clean();
+ @ob_end_clean();
if($zip){
readfile($filename);
unlink($filename);