diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-04-21 01:20:07 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-04-21 01:20:07 +0000 |
commit | 84420db434e5b3afe08d4626c38d7cfacc62fb68 (patch) | |
tree | 7b898af106878b65be5b86856714258c23008dd2 /lib/class/random.class.php | |
parent | 41db2472342bd0cdcd572f9f37bca698db6f6d2f (diff) | |
download | ampache-84420db434e5b3afe08d4626c38d7cfacc62fb68.tar.gz ampache-84420db434e5b3afe08d4626c38d7cfacc62fb68.tar.bz2 ampache-84420db434e5b3afe08d4626c38d7cfacc62fb68.zip |
fixed rating display and rating advanced search, also allow new genre when adding radio station
Diffstat (limited to 'lib/class/random.class.php')
-rw-r--r-- | lib/class/random.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/random.class.php b/lib/class/random.class.php index 8a042bad..0865f23f 100644 --- a/lib/class/random.class.php +++ b/lib/class/random.class.php @@ -1,7 +1,7 @@ <?php /* - Copyright 2001 - 2007 Ampache.org + Copyright Ampache.org All Rights Reserved This program is free software; you can redistribute it and/or @@ -281,7 +281,7 @@ class Random { } // end if matchlist switch ($data['random_type']) { - case 'full_aldum': + case 'full_album': $query = "SELECT `album`.`id` FROM `song` INNER JOIN `album` ON `song`.`album`=`album`.`id` " . "WHERE $where GROUP BY `song`.`album` ORDER BY RAND() $limit_sql"; $db_results = Dba::query($query); |