summaryrefslogtreecommitdiffstats
path: root/stream.php
diff options
context:
space:
mode:
authorPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-06-13 08:11:09 +0000
committerPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-06-13 08:11:09 +0000
commit4b5756ba9d8ee9e83c1ba4624b461b4746e49e82 (patch)
tree2e46772da9d25197fd847b273ca1f9b882ad3e34 /stream.php
parent93f4a26ab07207e1f9a8e716a82c5d8812d5344c (diff)
downloadampache-4b5756ba9d8ee9e83c1ba4624b461b4746e49e82.tar.gz
ampache-4b5756ba9d8ee9e83c1ba4624b461b4746e49e82.tar.bz2
ampache-4b5756ba9d8ee9e83c1ba4624b461b4746e49e82.zip
Miscellaneous cleanup.
Diffstat (limited to 'stream.php')
-rw-r--r--stream.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/stream.php b/stream.php
index 7e0ab8b3..193e69ba 100644
--- a/stream.php
+++ b/stream.php
@@ -164,7 +164,9 @@ switch ($_REQUEST['method']) {
/* Start the Stream */
debug_event('stream.php' , 'Stream Type: '.$stream_type.' Media IDs: '.$media_ids, '5');
$stream = new Stream($stream_type,$media_ids);
- $stream->add_urls($urls);
+ if (isset($urls)) {
+ $stream->add_urls($urls);
+ }
$stream->start();
} // end method switch