Alguem me consegue ajudar neste erro:
Database error with function: Get Images
SQL: SELECT i.*, u.username, u.email, g.gallery_name, CONCAT('http://test.com/images/',u.username,'/', i.name, '.', type) AS image_url, CONCAT('http://imagedux.com/thumbs/',u.username,'/', i.name, '.jpg') AS thumb_url FROM images i LEFT OUTER JOIN galleries g ON i.gallery_id=g.gallery_id, users u WHERE i.user_id=u.user_id AND i.user_id=1 ORDER BY i.uploaded desc LIMIT -10,10
mySQL Says: 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 '-10,10' at line 1