Actualiza fecha clase
This commit is contained in:
@@ -55,6 +55,7 @@ if($horario!= null && $tipo !=3)
|
||||
|
||||
$materia = $horario_rs["materia_id"];
|
||||
$dia = $horario_rs["horario_dia"];
|
||||
$fecha_orig = $horario_rs["horario_fecha_inicio"];
|
||||
$hora_orig = $horario_rs["horario_hora"];
|
||||
}else{
|
||||
$dia = date('w', strtotime($fecha));
|
||||
@@ -99,7 +100,7 @@ switch($tipo){
|
||||
$dia_new = date('w', strtotime($fecha_new));
|
||||
|
||||
$fecha_nueva = date('d/m/Y', strtotime($fecha_new));
|
||||
$fecha_clase = date('d/m/Y', strtotime($fecha_cambio));
|
||||
$fecha_clase = date('d/m/Y', strtotime($fecha_orig));
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user