A Database Error Occurred

Error Number: 1064

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 '-15' at line 1

select products.id, products.name from products inner join products_therapatic_areas on products_therapatic_areas.productID = products.id where products.active and products_therapatic_areas.therapaticAreaID = '33' group by products.id order by products.name asc limit 15 offset -15

Filename: controllers/Products.php

Line Number: 102