From d772b031a91383f9eb3ebf3892c8ab09e5b3f885 Mon Sep 17 00:00:00 2001 From: Paul Arthur Date: Tue, 13 Nov 2012 18:31:33 -0500 Subject: Switch from print_r to json_encode in debug output --- stream.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'stream.php') 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); -- cgit