diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2012-11-13 18:31:33 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-11-13 18:31:33 -0500 |
commit | d772b031a91383f9eb3ebf3892c8ab09e5b3f885 (patch) | |
tree | 7b15490e7c6e489c94f77e0e929713abb2d38488 /stream.php | |
parent | 915b29c985fd0fe8b72698cda89462b757357992 (diff) | |
download | ampache-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.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |