From 04a41625981b3982ec66c31ddb291ff4f91b65d1 Mon Sep 17 00:00:00 2001 From: Roberto Hueso Gómez Date: Thu, 5 Mar 2020 13:52:08 +0100 Subject: #942 Adapt web to use /schedule get on /schedule/create (web) --- admin/WebConsole/gestores/gestor_programaciones.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'admin/WebConsole/gestores') diff --git a/admin/WebConsole/gestores/gestor_programaciones.php b/admin/WebConsole/gestores/gestor_programaciones.php index 2edbe373..814f98a1 100644 --- a/admin/WebConsole/gestores/gestor_programaciones.php +++ b/admin/WebConsole/gestores/gestor_programaciones.php @@ -86,6 +86,8 @@ if($pswop!=$op_suspension){ $pnombrebloque, $pannos, $pmeses, $pdiario, $phoras, $pampm, $pminutos); $swop=$op_alta; + $schedule = get_schedule($pidentificador); + $idr = max(array_keys($schedule)); break; case $op_eliminacion: $result = delete_schedule($pidprogramacion); -- cgit v1.2.3-18-g5258