class.udb.php:182 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 ')
GROUP BY sitesFlights.siteID
ORDER BY NULL' at line 6

SELECT sitesFlights.siteID, flights.flightID, flights.flightCompany, flights.carInd, flights.carText, settlements.TITLE as `flightCity`, internet.intID, internet.intIconText, p.presentID, p.presentIconText
FROM `sitesFlights` INNER JOIN `flights` USING(`flightID`)
LEFT JOIN `settlements` ON (flights.settlementID = settlements.settlementID)
LEFT JOIN `internet` ON (flights.intID = internet.intID)
LEFT JOIN `presents` AS `p` ON (flights.presentID = p.presentID)
WHERE sitesFlights.siteID IN ()
GROUP BY sitesFlights.siteID
ORDER BY NULL
1: class.udb.php:372 udb::query()
2: index.php:29 udb::key_row()
3: modifier.php:166 include()