From b388cc515532f31b289460c31b0251fcc979727a Mon Sep 17 00:00:00 2001 From: xgizzmo Date: Tue, 11 Sep 2007 00:09:27 +0000 Subject: Really fixed a rating issue this time --- lib/class/rating.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/class/rating.class.php') diff --git a/lib/class/rating.class.php b/lib/class/rating.class.php index c963b5f0..1ddd842a 100644 --- a/lib/class/rating.class.php +++ b/lib/class/rating.class.php @@ -69,7 +69,7 @@ class Rating { $results = Dba::fetch_assoc($db_results); - return $results['rating']; + return $results['score']; } // get_user @@ -89,7 +89,7 @@ class Rating { while ($r = Dba::fetch_assoc($db_results)) { $i++; - $total += $r['rating']; + $total += $r['score']; } // while we're pulling results if ($total > 0) { -- cgit