diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-07-22 19:37:00 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-07-22 19:37:25 +0200 |
commit | 41a2da234a1425df0aa09ee339076f52e78ead4c (patch) | |
tree | bb7a8ba0534961b749e03e63fb4399d355570b7d /apps/media | |
parent | 9d1c5c855bb1e5708d46960b3ad08acd805a6186 (diff) | |
download | nextcloud-server-41a2da234a1425df0aa09ee339076f52e78ead4c.tar.gz nextcloud-server-41a2da234a1425df0aa09ee339076f52e78ead4c.zip |
remove some debug output and supress some possible errors
Diffstat (limited to 'apps/media')
-rw-r--r-- | apps/media/ajax/api.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/media/ajax/api.php b/apps/media/ajax/api.php index cf0d472758c..bd18bb51b5c 100644 --- a/apps/media/ajax/api.php +++ b/apps/media/ajax/api.php @@ -33,7 +33,7 @@ require_once('../lib_scanner.php'); error_reporting(E_ALL); //no script error reporting because of getID3 $arguments=$_POST; -print_r($_POST); + if(!isset($_POST['action']) and isset($_GET['action'])){ $arguments=$_GET; } @@ -42,7 +42,7 @@ foreach($arguments as &$argument){ $argument=stripslashes($argument); } global $CONFIG_DATADIRECTORY; -ob_clean(); +@ob_clean(); if(!isset($arguments['artist'])){ $arguments['artist']=0; } |