From efa30850736411414d7297970de72cf144fb5f0b Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Date: Mon, 29 Aug 2011 17:09:22 +0200
Subject: [PATCH] fixed picture preview broken for some, thanks to Felix on
 Shapado

---
 lib/files.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/files.php b/lib/files.php
index dd74b08670..f1789d9c7a 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);
-- 
GitLab