The query you were trying to run failed, the server gave the following reason:
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
(hotels.active > 0)
ORDER BY
location_links.li
SELECT
hotels.*,
TIME_FORMAT(hotels.check_in, '%l:%i%p') AS check_in,
TIME_FORMAT(hotels.check_out, '%l:%i%p') AS check_out,
blurb.index_html,
blurb.meta_keywords,
blurb.meta_description,
blurb.short_terms,
location_links.location_id,
venues.url AS venue_url
FROM
(hotels LEFT JOIN blurb
USING (hotel_id))
LEFT JOIN location_links
USING (hotel_id)
LEFT JOIN venues
ON (hotels.venue_id = venues.venue_id)
WHERE
(hotels.hotel_id = )
AND
(hotels.active > 0)
ORDER BY
location_links.link_id ASC
LIMIT
1