summaryrefslogtreecommitdiffstats
path: root/lib/class/stream.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/stream.class.php')
-rw-r--r--lib/class/stream.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php
index 9c1ad1e8..6d620f03 100644
--- a/lib/class/stream.class.php
+++ b/lib/class/stream.class.php
@@ -63,7 +63,7 @@ class Stream {
*/
public function start() {
- if (!is_array($this->songs)) {
+ if (!count($this->songs) AND !count($this->urls)) {
debug_event('stream','Error: No Songs Passed on ' . $this->type . ' stream','2');
return false;
}