MySQL Error!
MySQL error in file: /engine/bullet_energy/action/site/index.php at line 51
Error Number: 1064
The Error returned was:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND topic_approve = 0)) ORDER BY last_reply_date DESC LIMIT 1' at line 1
SQL query:

SELECT last_reply_info FROM dle_be_topic WHERE id_parent = 1 AND (topic_approve = 1 OR (autor_id = AND topic_approve = 0)) ORDER BY last_reply_date DESC LIMIT 1