summaryrefslogtreecommitdiffstats
path: root/stream.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2012-11-13 18:31:33 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2012-11-13 18:31:33 -0500
commitd772b031a91383f9eb3ebf3892c8ab09e5b3f885 (patch)
tree7b15490e7c6e489c94f77e0e929713abb2d38488 /stream.php
parent915b29c985fd0fe8b72698cda89462b757357992 (diff)
downloadampache-d772b031a91383f9eb3ebf3892c8ab09e5b3f885.tar.gz
ampache-d772b031a91383f9eb3ebf3892c8ab09e5b3f885.tar.bz2
ampache-d772b031a91383f9eb3ebf3892c8ab09e5b3f885.zip
Switch from print_r to json_encode in debug output
Diffstat (limited to 'stream.php')
-rw-r--r--stream.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/stream.php b/stream.php
index b5230a5d..2230e9dc 100644
--- a/stream.php
+++ b/stream.php
@@ -169,7 +169,8 @@ switch ($_REQUEST['method']) {
}
/* Start the Stream */
- debug_event('stream.php' , 'Stream Type: '.$stream_type.' Media IDs: '. print_r($media_ids, true), '5');
+ debug_event('stream.php' , 'Stream Type: ' . $stream_type .
+ ' Media IDs: '. json_encode($media_ids), 5);
$stream = new Stream($stream_type,$media_ids);
if (isset($urls)) {
$stream->add_urls($urls);