WYJĄTEK
MySQL.class.php, linia: 86
SELECT
SQL_CALC_FOUND_ROWS
`e`.`id`, `e`.`id_parent`, `e`.`locked`
, `ml`.`name`,
`m`.`id_redirect`, `m`.`target`, `ml`.`redirect`,
IF (m.id_redirect IN (), 1, 0) AS selected
FROM `a_Element` AS e
INNER JOIN `a_PageMenuModule` AS m ON (`m`.`id_element`=`e`.`id`)
INNER JOIN `a_PageMenuModule_lang` AS ml ON (`ml`.`id_element`=`e`.`id` AND `ml`.`id_lang`='297')
LEFT JOIN `a_Position` AS p ON (`p`.`id_element`=`e`.`id` AND `p`.`id_parent` ='2422')
WHERE `e`.`module` = 'PageMenuModule'
AND `m`.`active` = '1' AND `m`.`deleted_at` IS NULL AND `e`.`id_parent` = '2422'
GROUP BY `e`.`id`
ORDER BY position asc
LIMIT 0, 20
#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 '), 1, 0) AS selected
FROM `a_Element` AS e
INNER JOIN `a_PageMenuModule` A' at line 6
#0 /class/MySQL.class.php:127
MySQL->query()
#1 /class/SiteList.class.php:285
MySQL->fetchQueryResults()
#2 /modules/CategoryModule/CategoryModule.class.php:116
SiteList->elementsList()
#3 /modules/PageModule/PageModule.class.php:239
CategoryModule->runController()
#4 /index.php:252
PageModule->runController()