summaryrefslogtreecommitdiffstats
path: root/templates/show_object_rating_static.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_object_rating_static.inc.php')
-rw-r--r--templates/show_object_rating_static.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/show_object_rating_static.inc.php b/templates/show_object_rating_static.inc.php
index 5fcd4f18..a8359f5b 100644
--- a/templates/show_object_rating_static.inc.php
+++ b/templates/show_object_rating_static.inc.php
@@ -27,7 +27,7 @@ $base_url = Config::get('ajax_url') . '?action=set_rating&rating_type=' . $r
<ul>
<?php
// decide width of rating (5 stars -> 20% per star)
- $width = $rating->rating*20;
+ $width = $rating->preciserating*20;
if ($width < 0) $width = 0;
//set the current rating background
@@ -35,7 +35,7 @@ $base_url = Config::get('ajax_url') . '?action=set_rating&amp;rating_type=' . $r
if ($rating->rating <= 0) {
echo "not rated yet </li>\n";
}
- else echo "$rating->rating of 5</li>\n";
+ else echo "$rating->preciserating of 5</li>\n";
for ($i=1; $i<6; $i++)
{