Error Number: 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 ') order by 2' at line 1
select * from zonas where id in (select zona_id from inmuebles where tipo_de_inmueble_id=) order by 2
Filename: models/Inmueble.php
Line Number: 115