Database error: Invalid SQL: select tb1.* from modulos as tb1 inner join accesos as tb2 on tb1.id=tb2.id_modulo
where tb2.usuario= and tb2.activo=1 group by tb1.id order by orden MySQL Error: 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 'and tb2.activo=1 group by tb1.id order by orden' at line 2)
Session halted.