From 534f9da3d2b2644c2700050c76657d003878ed58 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Tue, 27 Dec 2005 01:31:18 +0000 Subject: fixed rating system if using non-flash --- ratings.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ratings.php') 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: -- cgit