Hi everyone in my getListQuery() method I have this query en SQL with error because I don´t know how to scape $language value
$query->from('`#__noticias` AS a');
$query->where('( a.idioma LIKE '.$language.' )');
I want to obtain this.
$query->from('`#__noticias` AS a');
$query->where('( a.idioma LIKE "es-ES" )');
any idea!