diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-04-08 02:40:07 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-04-08 02:40:07 +0000 |
commit | f804835929eeb09374dcb4fd41a57f56b7cecbb0 (patch) | |
tree | 96470e994c9c31d758da4e3463a146db0318f03c /templates/rightbar.inc.php | |
parent | 3a1597d0748ddcca33b663525e07506b728b47ec (diff) | |
download | ampache-f804835929eeb09374dcb4fd41a57f56b7cecbb0.tar.gz ampache-f804835929eeb09374dcb4fd41a57f56b7cecbb0.tar.bz2 ampache-f804835929eeb09374dcb4fd41a57f56b7cecbb0.zip |
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
Diffstat (limited to 'templates/rightbar.inc.php')
-rw-r--r-- | templates/rightbar.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
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); } ?> |