SQL Error: 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 5 at /home/a/alexo/legacy.inion.ru/public_html/site_template/cmpl_tmp/magazine_page.html.php line 22
Array
(
[code] => 1064
[message] => 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 5
[query] => SELECT
m.page_name AS journal_name,issn,a.page_name AS number,a.year,CONCAT(m.page_name,'. ¹ ',a.page_name,' ',a.year) AS title
FROM adm_article AS a
INNER JOIN adm_magazine AS m ON m.page_id=a.journal
WHERE a.page_id=
[context] => /home/a/alexo/legacy.inion.ru/public_html/site_template/cmpl_tmp/magazine_page.html.php line 22
)