Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-11, 11' at line 9 in /www/doc/magazin.dobre-knihy.cz/www/libs/func.php:517
Stack trace:
#0 /www/doc/magazin.dobre-knihy.cz/www/libs/func.php(517): PDO->prepare('SELECT c.*, au....')
#1 /www/doc/magazin.dobre-knihy.cz/www/index.php(130): getClankyByZanr(Object(PDO), 11, -11, 'leporela-307')
#2 {main}
thrown in /www/doc/magazin.dobre-knihy.cz/www/libs/func.php on line 517