OcurriĆ³ un error en la base de datos

Error Number: 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 '' at line 10

SELECT ORGA_Asociacion as asociacion, ORGA_Contacto as contacto, ORGA_Telefono as telefono, ORGA_Lugar as lugar, ORGA_Inicio as inicio, ORGA_Fin as fin, ORGA_Activa as activa FROM diabcamp_organizaciones WHERE ORGA_Codigo=

Filename: /var/www/vhosts/fundacionparalasalud.org/httpdocs/models/mod_diabcamp.php

Line Number: 50