MySQL 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 ') AND ( d.Type=272 ) AND d.Visible='Y' ORDER BY Documen' at line 4 /usr/home/oprc/hivpolicy.ru/code/db_getter.inc:702; in query: SELECT d.*, concat(l.Name, ' ', d.NumberDigit, ' ', d.Title) as sort_title FROM Documents d LEFT JOIN Lists l ON l.PrimID=d.Type AND l.Lang=d.Lang WHERE d.Lang='RU' AND d.Status='Hand' AND (d.Geography=) AND ( d.Type=272 ) AND d.Visible='Y' ORDER BY DocumentDate DESC REQUEST: array ( 'filter' => 'searchin', 'type' => array ( 0 => '272', ), 'geography' => array ( 0 => '', ), 'PHPSESSID' => 'tgarp7i4taa5ul78qf8tm9dbl2', 'PopUpMoreNews' => '1', )Unknown error, please try again later