Error in query:
SELECT * FROM Bundle
LEFT JOIN bundle_category_relationship
ON Bundle.BundleId = bundle_category_relationship.bundle_id
WHERE bundle_category_relationship.category_id = AND custom = 1
ORDER BY Bundle.our_price ASC
;. 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 'AND custom = 1
ORDER BY Bundle.our_price ASC' at line 4