summaryrefslogtreecommitdiffstats
path: root/apps/media/ajax/api.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-10-17 00:24:07 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-10-17 00:25:13 +0200
commit330c513015f835bc0f7f4cc19e3c49fd9053e735 (patch)
treea75d57865d13c340bffd6489e3af618f610da1e1 /apps/media/ajax/api.php
parent1f6be857192bce5c6e33765bdebb424f74b3642d (diff)
downloadnextcloud-server-330c513015f835bc0f7f4cc19e3c49fd9053e735.tar.gz
nextcloud-server-330c513015f835bc0f7f4cc19e3c49fd9053e735.zip
prevent error in media player ajax api
Diffstat (limited to 'apps/media/ajax/api.php')
-rw-r--r--apps/media/ajax/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/media/ajax/api.php b/apps/media/ajax/api.php
index 29f61a2207f..93298c82c55 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'] );