diff options
Diffstat (limited to 'ratings.php')
-rw-r--r-- | ratings.php | 4 |
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: |