Noticias

Error en:
select n.* from noticia as n inner join noticiacontenido as nc on n.id=nc.id_noticia where fecha<=? and privado=? and nc.id_contenido=? and activo and tituloes<>"" order by prioridad asc, fecha desc limit -12,6

Array ( [0] => 2020-07-14 12:55:49 [1] => 0 [2] => 14 )
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 '-12,6' at line 1