From f804835929eeb09374dcb4fd41a57f56b7cecbb0 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Wed, 8 Apr 2009 02:40:07 +0000 Subject: some tweaks to make the random play mojo work for streaming, does not work in localplay yet, working on that, nor in democratic play poking that also include asx playlist improvements from jon611 --- templates/rightbar.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'templates/rightbar.inc.php') diff --git a/templates/rightbar.inc.php b/templates/rightbar.inc.php index 95af30a0..c64d54c3 100644 --- a/templates/rightbar.inc.php +++ b/templates/rightbar.inc.php @@ -96,8 +96,7 @@ $object = new $type(array_shift($object_data)); $object->format(); } - elseif ($type == Random::validate_type($type)) { - $object = new Random(); + if ($type == 'random') { $object->f_link = Random::get_type_name($type); } ?> -- cgit