[Pkg-owncloud-commits] [owncloud] 22/75: prevent error in media player ajax api

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:08:32 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v3.0.1
in repository owncloud.

commit 7ccf71d4789d848d54bbf2e0109e731f54773930
Author: Robin Appelman <icewind1991 at gmail.com>
Date:   Mon Oct 17 00:24:07 2011 +0200

    prevent error in media player ajax api
---
 apps/media/ajax/api.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/media/ajax/api.php b/apps/media/ajax/api.php
index 29f61a2..93298c8 100644
--- a/apps/media/ajax/api.php
+++ b/apps/media/ajax/api.php
@@ -106,7 +106,7 @@ if($arguments['action']){
 			}
 			break;
 		case 'play':
-			ob_end_clean();
+			@ob_end_clean();
 			
 			$ftype=OC_Filesystem::getMimeType( $arguments['path'] );
 			

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list