MySQL Error!
MySQL error in file: /engine/modules/top.php at line 209
Error Number: 1064
The Error returned was:
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 1
SQL query:

SELECT SUM(rating)/SUM(vote_num) AS rating FROM dle_post AS p LEFT JOIN dle_post_extras AS pe ON (p.id = pe.news_id) WHERE (category=)