Error: 1064 - MySQLException - 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 '' at line 1SELECT `management-articles1380`.*, `uri`.`uri` , (SELECT `management-articles1380_photo_1384`.`view802` FROM `management-articles1380_photo_1384` WHERE `management-articles1380_photo_1384`.`idmanagement-articles1380`=`management-articles1380`.`idmanagement-articles1380` AND `management-articles1380_photo_1384`.`publish` = '1' ORDER BY `management-articles1380_photo_1384`.`order` LIMIT 0,1) AS PHOTO , (SELECT `management-articles1380_photo_1384`.`main-photo801` FROM `management-articles1380_photo_1384` WHERE `management-articles1380_photo_1384`.`idmanagement-articles1380`=`management-articles1380`.`idmanagement-articles1380` AND `management-articles1380_photo_1384`.`publish` = '1' ORDER BY `management-articles1380_photo_1384`.`order` LIMIT 0,1) AS PHOTO_MAIN , (SELECT `management-articles1380_photo_1384`.`title` FROM `management-articles1380_photo_1384` WHERE `management-articles1380_photo_1384`.`idmanagement-articles1380`=`management-articles1380`.`idmanagement-articles1380` AND `management-articles1380_photo_1384`.`publish` = '1' ORDER BY `management-articles1380_photo_1384`.`order` LIMIT 0,1) AS PHOTO_TITLE FROM `management-articles1380` INNER JOIN `uri` ON (`uri`.`reluri_id` = `management-articles1380`.`idmanagement-articles1380` AND `uri`.`rel_tablename` = 'management-articles1380' AND `uri`.`lang` = 'cs') WHERE `management-articles1380`.`lang` = 'cs' AND `management-articles1380`.`publish1392` = '1' AND `management-articles1380`.`idmanagement-articles1380` IN(52,53) ORDER BY title1390 LIMIT 0,