A Database Error Occurred

Error Number: 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 ' 4895094019757 ORDER BY `affiliate_content`.`price` ASC' at line 4

SELECT `affiliate_content`.`id`, `affiliate_content`.`url`, `affiliate_content`.`name`, `affiliate_content`.`price`, `affiliate_content`.`picture_big`, `affiliate_content`.`extra_info2`, `affiliate_feed`.`feed_name` FROM `affiliate_content` JOIN `affiliate_feed` ON `affiliate_content`.`feed_id` = `affiliate_feed`.`id` WHERE LPAD(affiliate_content.ean, 13, 0) = 3307215704998, 4895094019757 ORDER BY `affiliate_content`.`price` ASC

Filename: models/Games_model.php

Line Number: 65