1064 - 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 'OR c.id_catorigen=0) AND cd.categoria_seo="productos-marcas" AND cd.id_idioma=1' at line 4

SELECT cd.id_categoria FROM categorias c INNER JOIN categorias_desc cd ON c.id_categoria = cd.id_categoria WHERE (c.id_catorigen= OR c.id_catorigen=0) AND cd.categoria_seo="productos-marcas" AND cd.id_idioma=1

[TEP STOP]