Closed (fixed)
Project:
Fivestar
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Dec 2006 at 16:03 UTC
Updated:
24 Apr 2007 at 02:06 UTC
theme_fivestar_static will display a rating of 3.5 stars as 2 full stars and half of a third star, rather than 3 full stars and half of a fourth star.
This patch starts the for loop at 0 instead of 1, and does the equality comparison (for whole stars) against $next_star_value to compensate for this.
| Comment | File | Size | Author |
|---|---|---|---|
| fivestar.patch | 1.08 KB | zroger |
Comments
Comment #1
eaton commentedFixed, included in the new 1.2 release. Thanks!
Comment #2
(not verified) commentedComment #3
jonathan_hunt commentedFYI, after applying this patch, I had to alter
to
otherwise I was getting 11 stars displayed when $stars = 10;