Couldn't SELECT rating data.
SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5
SELECT AVG(rating) AS average, MIN(rating) AS minimum, MAX(rating) AS maximum, COUNT(rating) AS number_of_rates FROM phpbb_rate_results WHERE topic_id =
Line : 121
File : rate_functions.php