From 8ce150b9c176189fde3205a2dfec7089e2e0a104 Mon Sep 17 00:00:00 2001 From: "alejandro.lara" Date: Tue, 30 Apr 2024 13:38:32 -0600 Subject: [PATCH] Cambio campos insert 2 --- rest/horarios.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest/horarios.php b/rest/horarios.php index bb922fa..f820d2d 100644 --- a/rest/horarios.php +++ b/rest/horarios.php @@ -216,7 +216,7 @@ try{ if($debug){ echo "
SELECT * FROM fi_reposicion_sgu('$fecha_orig', '".$hora_fin_nueva."','".$fecha_nueva."' ,'".$row["ClaveProfesor"]."', ".$per["periodo_id"].", ".$row["IdEspacio"].")"; }else{ - $db->query('SELECT * FROM fi_reposicion_sgu(:fecha_orig, :hora_fin, :fecha_rep, :prof, :per, :salon, :carrera)', + $db->query('SELECT * FROM fi_reposicion_sgu(:fecha_orig, :hora_fin, :fecha_rep, :prof, :per, :salon)', [":fecha_orig"=>$fecha_orig, ":hora_fin"=>$hora_fin_nueva, ":fecha_rep"=>$fecha_nueva, ":prof"=>$row["ClaveProfesor"], ":per"=>$per["periodo_id"], ":salon"=>$row["IdEspacio"] ]); $log_desc .="SELECT * FROM fi_reposicion_sgu($fecha_orig, ".$fecha_nueva.", ".$row["ClaveProfesor"].", ".$per["periodo_id"].") ## "; }