<br />
<b>Fatal error</b>:  Uncaught mysqli_sql_exception: 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 '' at line 7 in /home/sigesaf/public_html/class/class.consulta.php:17
Stack trace:
#0 /home/sigesaf/public_html/class/class.consulta.php(17): mysqli_query(Object(mysqli), 'SELECT  PDV.*, ...')
#1 /home/sigesaf/public_html/class/class.consulta.php(66): consulta-&gt;connect()
#2 /home/sigesaf/public_html/class/class.querybasedatos.php(114): consulta-&gt;getData()
#3 /home/sigesaf/public_html/class/class.querybasedatos.php(60): QueryBaseDatos-&gt;ExecuteQuery('Multiple')
#4 /home/sigesaf/public_html/class/class.querybasedatos.php(53): QueryBaseDatos-&gt;ConsultaNormal('Multiple')
#5 /home/sigesaf/public_html/php/devoluciones/detalle_devolucion.php(29): QueryBaseDatos-&gt;Consultar('Multiple', false)
#6 {main}
  thrown in <b>/home/sigesaf/public_html/class/class.consulta.php</b> on line <b>17</b><br />
