diff options
author | xgizzmo <xgizzmo@ampache> | 2007-09-11 00:09:27 +0000 |
---|---|---|
committer | xgizzmo <xgizzmo@ampache> | 2007-09-11 00:09:27 +0000 |
commit | b388cc515532f31b289460c31b0251fcc979727a (patch) | |
tree | 372878114ccf595bf52c2612347e39c8ac7b4fcb /lib/class | |
parent | 8edeba995590a2c75d0ce55d431c6fd5190817da (diff) | |
download | ampache-b388cc515532f31b289460c31b0251fcc979727a.tar.gz ampache-b388cc515532f31b289460c31b0251fcc979727a.tar.bz2 ampache-b388cc515532f31b289460c31b0251fcc979727a.zip |
Really fixed a rating issue this time
Diffstat (limited to 'lib/class')
-rw-r--r-- | lib/class/rating.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |