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 /lib/class/art.class.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 'lib/class/art.class.php')
-rw-r--r-- | lib/class/art.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/art.class.php b/lib/class/art.class.php index ad8023ca..d4cdea94 100644 --- a/lib/class/art.class.php +++ b/lib/class/art.class.php @@ -611,7 +611,7 @@ class Art extends database_object { $config = array($config); } - debug_event('Art','Searching using:' . print_r($config, true), 3); + debug_event('Art','Searching using:' . json_encode($config), 3); foreach ($config as $method) { @@ -1062,7 +1062,7 @@ class Art extends database_object { $results = $preferred; } - debug_event('folder_art', 'Results: ' . print_r($results, true), 5); + debug_event('folder_art', 'Results: ' . json_encode($results), 5); if ($limit && count($results) > $limit) { $results = array_slice($results, 0, $limit); } |