summaryrefslogtreecommitdiffstats
path: root/ratings.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-27 01:31:18 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-12-27 01:31:18 +0000
commit534f9da3d2b2644c2700050c76657d003878ed58 (patch)
tree87d0a6aa736ed0d6b2d398d0d9d3534ca7fecc9f /ratings.php
parent6b0b77f12b6873204bfd73a250621115b1f539a0 (diff)
downloadampache-534f9da3d2b2644c2700050c76657d003878ed58.tar.gz
ampache-534f9da3d2b2644c2700050c76657d003878ed58.tar.bz2
ampache-534f9da3d2b2644c2700050c76657d003878ed58.zip
fixed rating system if using non-flash
Diffstat (limited to 'ratings.php')
-rw-r--r--ratings.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/ratings.php b/ratings.php
index 3ae150b5..9ced9b95 100644
--- a/ratings.php
+++ b/ratings.php
@@ -28,7 +28,9 @@ $action = scrub_in($_REQUEST['action']);
switch ($action) {
case 'set_rating':
-
+ $rating = new Rating($_REQUEST['object_id'],$_REQUEST['rating_type']);
+ $rating->set_rating($_REQUEST['rating']);
+ show_confirmation(_("Rating Updated"),_("Your rating for this object has been updated"),"/index.php");
break;
default: