summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/gestores
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-03-05 13:52:08 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-02 12:32:36 +0200
commit04a41625981b3982ec66c31ddb291ff4f91b65d1 (patch)
tree915d20c273b2890ca31d168c70eae1a6a0561026 /admin/WebConsole/gestores
parent639a33c7c11888cb33ee9c850aa158f6a21eff87 (diff)
#942 Adapt web to use /schedule get on /schedule/create (web)
Diffstat (limited to 'admin/WebConsole/gestores')
-rw-r--r--admin/WebConsole/gestores/gestor_programaciones.php2
1 files changed, 2 insertions, 0 deletions
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);