AdminMax 5.54
ERROR [DB]: 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 '-50, 50' at line 17
SQL query:
SELECT
thesis.id AS id, thesis.url_title AS url_title, thesis.title AS title, thesis.text AS text, thesis.date_of_entry AS date_of_entry, thesis.date_of_execution AS date_of_execution, thesis.user_id AS user_id, thesis.answer AS answer, thesis.vote_yes AS vote_yes, thesis.vote_no AS vote_no, users.username AS username
FROM thesis
LEFT JOIN thesis_tags
ON thesis.id=thesis_tags.thesis_id
LEFT JOIN tags
ON thesis_tags.tag_id=tags.id
LEFT JOIN users
ON thesis.user_id=users.user_id
WHERE
thesis.visible='1'
AND tags.code LIKE 'captcha'
GROUP BY
thesis_tags.thesis_id
ORDER BY
date_of_entry DESC, title ASC
LIMIT -50, 50