diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-12 07:43:31 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-12 07:43:31 +0000 |
commit | e67cf68ba9ab9a959f389dc3424cf26713678a3c (patch) | |
tree | 06f302da2796ea8124c8489bb5f07477a814f9e7 /lib | |
parent | b1db92ee8c07a1aa7aef7bdb38b4e401aa608a96 (diff) | |
download | ampache-e67cf68ba9ab9a959f389dc3424cf26713678a3c.tar.gz ampache-e67cf68ba9ab9a959f389dc3424cf26713678a3c.tar.bz2 ampache-e67cf68ba9ab9a959f389dc3424cf26713678a3c.zip |
fixed a few typos causing ratings to not work at all :(
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rating.lib.php | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/rating.lib.php b/lib/rating.lib.php index 4f854c93..676a37eb 100644 --- a/lib/rating.lib.php +++ b/lib/rating.lib.php @@ -28,19 +28,7 @@ function show_rating($object_id,$type) { $rating = new Rating($object_id,$type); - switch (conf('ratings')) { - case 'normal': - include(conf('prefix') . '/templates/show_object_rating.inc.php'); - break; - case 'flash': - include(conf('prefix') . '/templates/show_object_rating_flash.inc.php'); - break; - default: - return false; - break; - } // end flash switch - - return true; + include(conf('prefix') . '/templates/show_object_rating.inc.php'); } // show_rating |