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 'WHERE `resellers`.`active_husvagn` = 1' at line 4

SELECT * FROM (`resellers`) INNER JOIN `reseller_manufacturer_husvagn` rm ON `rm`.`reseller_id` = `resellers`.`id` AND rm.manufacturer_id = WHERE `resellers`.`active_husvagn` = 1

Filename: /home/quality/public_html/husvagn.se/third_party/gas/classes/core.php

Line Number: 1908