Warning: Undefined array key "user" in /home/sigesaf/public_html/php/inventario/descargar_excel.php on line 131
Warning: Undefined array key "funcionario" in /home/sigesaf/public_html/php/inventario/descargar_excel.php on line 133
Fatal error: 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 'AND (PE.Id_Perfil=22 OR PE.Id_Perfil=16 OR PE.Id_Perfil=29 OR PE.Id_Perfil=44 OR' at line 5 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 PE.*, PF...')
#1 /home/sigesaf/public_html/class/class.consulta.php(66): consulta->connect()
#2 /home/sigesaf/public_html/php/inventario/descargar_excel.php(144): consulta->getData()
#3 /home/sigesaf/public_html/php/inventario/descargar_excel.php(22): permiso()
#4 {main}
thrown in /home/sigesaf/public_html/class/class.consulta.php on line 17