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="barrene-gas" AND cd.id_idioma=4' at line 4

SELECT cd.id_categoria FROM categorias_productos c INNER JOIN categorias_productos_desc cd ON c.id_categoria = cd.id_categoria WHERE (c.id_catorigen= OR c.id_catorigen=0) AND cd.categoria_seo="barrene-gas" AND cd.id_idioma=4

[TEP STOP]