diff --git a/action/solicitud_insert.php b/action/solicitud_insert.php index c00fc30..8f31061 100644 --- a/action/solicitud_insert.php +++ b/action/solicitud_insert.php @@ -101,7 +101,7 @@ switch($tipo){ $dia_new = date('w', strtotime($fecha_new)); break; case 4://Cambio permanente - $fecha_nueva = $fecha_new; + $fecha_nueva = $fecha; $fecha_clase = $fecha_cambio; $fecha_new = DateTime::createFromFormat('d/m/Y', $fecha)->format('Y-m-d')." ".$hora;