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 ') AND ( `market_id` = '1' OR `market_id` = 0 )' at line 4

SELECT `hotel_id`, `market_id`, `normal_price`, `discount_percent`, `discounted_price`, `concept_name`, `child_discount`, `currency`, `concept_id`, `has_price` FROM `hotels_hotel_promotion_prices` WHERE ( ) AND ( `market_id` = '1' OR `market_id` = 0 )

Filename: models/Hotel.php

Line Number: 595