#0 /srv/TTCN/wikindx6/core/libs/SQL.php(3493): SQL->sqlDie('...', '...')
#1 /srv/TTCN/wikindx6/core/libs/SQL.php(119): SQL->internalQuery('...', false)
#2 /srv/TTCN/wikindx6/core/bibcitation/BIBCITEGATEWAY.php(1462): SQL->query('...')
#3 /srv/TTCN/wikindx6/core/bibcitation/BIBCITEGATEWAY.php(1384): BIBCITEGATEWAY->getResourcesPublisher(Array)
#4 /srv/TTCN/wikindx6/core/bibcitation/BIBCITEGATEWAY.php(497): BIBCITEGATEWAY->getResourceData(Array, '...', '', true, false, Array)
#5 /srv/TTCN/wikindx6/core/modules/resource/RESOURCEVIEW.php(337): BIBCITEGATEWAY->getDataFromResIds('...')
#6 /srv/TTCN/wikindx6/core/modules/resource/RESOURCEVIEW.php(130): RESOURCEVIEW->displayResource(false)
#7 /srv/TTCN/wikindx6/index.php(137): RESOURCEVIEW->init()
[SQL ERROR]
SELECT `resourceId`, `resourceType`, `resourcemiscField1`, `publisherId`, `publisherName`, `publisherLocation`
FROM `resource`
LEFT OUTER JOIN `resource_misc` ON `resourcemiscId` = `resourceId`
LEFT OUTER JOIN `publisher` ON
CASE
WHEN (`resourceType` = 'proceedings' OR `resourceType` = 'proceedings_article') AND `resourcemiscField1` IS NOT NULL THEN
`resourcemiscField1`
ELSE `resourcemiscPublisher`
END = `publisherId`
WHERE
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 10