MySQL Error!
MySQL error in file: /engine/modules/lastasks.php at line 66
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 '} ORDER BY a.id DESC LIMIT 0, 10' at line 8
SQL query:

SELECT a.id aid, a.title, (SELECT COUNT(id) FROM dle_ask_answer WHERE ask_id = a.id) as cnt_answer, IF(EXISTS(SELECT id FROM dle_ask_answer WHERE ask_id = a.id AND decision = 1), 1, 0) as decision_exists FROM dle_ask a WHERE news_id = {newsid} ORDER BY a.id DESC LIMIT 0, 10