diff --git a/rest/horarios.php b/rest/horarios.php index f820d2d..a7e4687 100644 --- a/rest/horarios.php +++ b/rest/horarios.php @@ -356,7 +356,7 @@ try{ );"; if($row["data"]["EsMateriaPorAsignacion"]){ echo " ***Asignacion directa***";} }else{ - $horario_new_rs = $db->querySingle('SELECT * FROM fi_horario(:hoy, :ini, :fin, :dep, :carr, :nom_mat, :cve_mat, :cve_prof, :nom_prof, :correo, :gpo, :espacio, :periodo)', + $horario_new_rs = $db->querySingle('SELECT * FROM fi_horario(:hoy, :ini, :fin, :dep, :carr, :nom_mat, :cve_mat, :cve_prof, :nom_prof, :correo, :gpo, :espacio, :periodo, :carrera)', [":hoy"=>$dia_hoy, ":ini"=>$row["data"]["HoraInicio"], ":fin"=>$row["data"]["HoraFin"],